summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pinfo.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-03-21 02:17:58 +0000
committerChristopher Faylor <me@cgf.cx>2001-03-21 02:17:58 +0000
commit9a08b2c02eea0c955c5fef0b0287803947fef0b6 (patch)
tree5ba4bc2c409482b4530eb8e1c2befd557170009e /winsup/cygwin/pinfo.h
parenta1299ba54b1a4977da361a037d6c3392005cbd25 (diff)
downloadcygnal-9a08b2c02eea0c955c5fef0b0287803947fef0b6.tar.gz
cygnal-9a08b2c02eea0c955c5fef0b0287803947fef0b6.tar.bz2
cygnal-9a08b2c02eea0c955c5fef0b0287803947fef0b6.zip
* sched.cc: New file. Implement sched*.
* include/sched.h: New file. User land includes for sched*. * Makefile.in: Add sched.o * cygwin.din: Add exports for sched*.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r--winsup/cygwin/pinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h
index 7f46850a6..89ed5468c 100644
--- a/winsup/cygwin/pinfo.h
+++ b/winsup/cygwin/pinfo.h
@@ -116,13 +116,13 @@ public:
return thread2signal ? thread2signal->win32_obj_id : hMainThread;
}
- inline void setthread2signal (void *thr) {thread2signal = (ThreadItem *) thr;}
+ inline void setthread2signal (void *thr) {thread2signal = (pthread *) thr;}
private:
struct sigaction sigs[NSIG];
sigset_t sig_mask; /* one set for everything to ignore. */
LONG _sigtodo[NSIG + __SIGOFFSET];
- ThreadItem *thread2signal; // NULL means means thread any other means a pthread
+ pthread *thread2signal; // NULL means means thread any other means a pthread
};
class pinfo