Changeset 1825
- Timestamp:
- Mar 13, 2005, 11:45:22 AM (20 years ago)
- Location:
- trunk/src/emx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/InnoTekLIBC/thread.h
-
Property cvs2svn:cvs-rev
changed from
1.11
to1.12
r1824 r1825 169 169 volatile unsigned fSigBeingPoked; 170 170 171 /** The millisecond timestamp of the last signal. 172 * This is used to detect system call interruptions (select). The function will clear 173 * before doing the system call and evaluate it when the call returns. signals.c will set it 174 * when ever a thread enters for processing a signal asynchronously. */ 175 volatile unsigned long ulSigLastTS; 171 176 172 177 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/sys/signals.c
-
Property cvs2svn:cvs-rev
changed from
1.23
to1.24
r1824 r1825 963 963 964 964 /* 965 * Get the current thread .965 * Get the current thread and update the last signal timestamp. 966 966 * There *MUST* be a current thread, if not, we're toast! 967 967 */ … … 982 982 } 983 983 } 984 pThrd->ulSigLastTS = fibGetMsCount(); 984 985 985 986 /* … … 2541 2542 2542 2543 /* 2543 * Get the current thread (1st thread, so that should be safe). 2544 * Get the current thread (1st thread, so that should be safe) 2545 * and set the last signal TS. 2544 2546 */ 2545 2547 __LIBC_PTHREAD pThrd = __libc_threadCurrentNoAuto(); … … 2549 2551 LIBCLOG_RETURN_VOID(); 2550 2552 } 2553 pThrd->ulSigLastTS = fibGetMsCount(); 2551 2554 2552 2555 /* … … 2652 2655 2653 2656 /* 2654 * Get thread structure .2657 * Get thread structure and set the signal TS. 2655 2658 */ 2656 2659 __LIBC_PTHREAD pThrd = __libc_threadCurrentNoAuto(); 2657 2660 if (pThrd) 2658 2661 { 2662 pThrd->ulSigLastTS = fibGetMsCount(); 2663 2659 2664 /* 2660 2665 * Take signal semaphore. -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.