Changeset 893
- Timestamp:
- Oct 26, 2004, 10:22:40 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lisp-kernel/thread_manager.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/thread_manager.c
r871 r893 232 232 233 233 TCR * 234 get_interrupt_tcr( )234 get_interrupt_tcr(Boolean create) 235 235 { 236 236 #ifndef LINUX 237 return get_tcr( true);237 return get_tcr(create); 238 238 #else 239 239 void* callers_r2 = current_r2; 240 240 241 241 if (callers_r2 == NULL) { /* pre-glibc-2.3.2 Linux */ 242 return get_tcr( true);242 return get_tcr(create); 243 243 } else { 244 244 TCR *head = (TCR *)lisp_global(INITIAL_TCR), *current = head; … … 266 266 struct pointer and that it's therefore safe to call get_tcr(). 267 267 */ 268 return get_tcr( true);268 return get_tcr(create); 269 269 } 270 270 #endif … … 275 275 suspend_resume_handler(int signo, siginfo_t *info, ExceptionInformation *context) 276 276 { 277 TCR *tcr = get_interrupt_tcr( true);277 TCR *tcr = get_interrupt_tcr(false); 278 278 279 279 if (signo == thread_suspend_signal) {
Note:
See TracChangeset
for help on using the changeset viewer.
