- File:
-
- 1 edited
-
libcfa/src/concurrency/preemption.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/preemption.cfa
r09d4b22 r1805b1b 10 10 // Created On : Mon Jun 5 14:20:42 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Dec 5 16:34:05201913 // Update Count : 4 312 // Last Modified On : Sun Dec 1 22:22:56 2019 13 // Update Count : 41 14 14 // 15 15 … … 65 65 event_kernel_t * event_kernel; // kernel public handle to even kernel 66 66 static pthread_t alarm_thread; // pthread handle to alarm thread 67 static void * alarm_stack; // pthread stack for alarm thread68 67 69 68 static void ?{}(event_kernel_t & this) with( this ) { … … 307 306 signal_block( SIGALRM ); 308 307 309 alarm_stack = create_pthread( &alarm_thread, alarm_loop, 0p );308 kernelTLS.preemption_state.stack = create_pthread( &alarm_thread, alarm_loop, 0p ); 310 309 } 311 310 … … 327 326 328 327 pthread_join( alarm_thread, 0p ); 329 free( alarm_stack );328 free( kernelTLS.preemption_state.stack ); 330 329 331 330 // Preemption is now fully stopped
Note:
See TracChangeset
for help on using the changeset viewer.