From 9a08b2c02eea0c955c5fef0b0287803947fef0b6 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 21 Mar 2001 02:17:58 +0000 Subject: * 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*. --- winsup/cygwin/pinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/pinfo.h') 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 -- cgit v1.2.3