Changeset 1618 for trunk/src/emx/include/InnoTekLIBC/thread.h
- Timestamp:
- Nov 7, 2004, 3:19:42 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/InnoTekLIBC/thread.h
-
Property cvs2svn:cvs-rev
changed from
1.8
to1.9
r1617 r1618 50 50 *******************************************************************************/ 51 51 struct _uheap; 52 53 /** 54 * sigwait,sigwaitinfo, sigtimedwait data. 55 */ 56 typedef volatile struct __libc_thread_sigwait 57 { 58 /** Done waitin' indicator.*/ 59 volatile int fDone; 60 /** The signals we're waiting for. */ 61 sigset_t SigSetWait; 62 /** The where to return signal info. */ 63 siginfo_t SigInfo; 64 } __LIBC_THREAD_SIGWAIT, *__LIBC_PTHREAD_SIGWAIT; 65 66 67 /** 68 * sigsuspend data. 69 */ 70 typedef volatile struct __libc_thread_sigsuspend 71 { 72 /** Done waitin' indicator.*/ 73 volatile int fDone; 74 } __LIBC_THREAD_SIGSUSPEND, *__LIBC_PTHREAD_SIGSUSPEND; 75 52 76 53 77 /** … … 150 174 151 175 /** Thread status, chiefly used for the u member of the thread structure. */ 152 enum enmLIBCThreadStatus176 volatile enum enmLIBCThreadStatus 153 177 { 154 178 /** The thread status must be queried from the OS. */ … … 158 182 /** The thread is in a sigwait(), sigwaitinfo(), or sigtimedwait() call. */ 159 183 enmLIBCThreadStatus_sigwait, 184 /** The thread is in a sigsuspend() call. */ 185 enmLIBCThreadStatus_sigsuspend, 160 186 } enmStatus; 161 187 … … 166 192 { 167 193 /** enmLIBCThreadStatus_startup: Begin Thread Arguments. */ 168 struct __libc_thread_ startup194 struct __libc_thread_u_startup 169 195 { 170 196 /** Thread argument. */ … … 175 201 176 202 /** enmLIBCThreadStatus_sigwait: Thread blocked in sigwait(), sigwaitinfo() or sigtimedwait(). */ 177 struct __libc_thread_sigwait 178 { 179 /** The signals we're waiting for. */ 180 sigset_t SigSetWait; 181 /** The where to return signal info. */ 182 siginfo_t *pSigInfo; 183 } SigWait; 203 __LIBC_PTHREAD_SIGWAIT pSigWait; 204 /** enmLIBCThreadStatus_sigsuspend: Thread blocked in sigsuspend(). */ 205 __LIBC_PTHREAD_SIGSUSPEND pSigSuspend; 184 206 } u; 185 207 … … 211 233 } __LIBC_THREAD; 212 234 235 213 236 #ifndef __LIBC_THREAD_DECLARED 214 237 #define __LIBC_THREAD_DECLARED -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.