Changeset 53ee27e for libcfa/src/concurrency/preemption.cfa
- Timestamp:
- Aug 4, 2020, 5:13:51 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- eafec07
- Parents:
- 3f850d7 (diff), 21b0a23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/preemption.cfa
r3f850d7 r53ee27e 26 26 27 27 #include "bits/signal.hfa" 28 #include "kernel_private.hfa" 28 29 29 30 #if !defined(__CFA_DEFAULT_PREEMPTION__) … … 293 294 // Startup routine to activate preemption 294 295 // Called from kernel_startup 295 void kernel_start_preemption() {296 void __kernel_alarm_startup() { 296 297 __cfaabi_dbg_print_safe( "Kernel : Starting preemption\n" ); 297 298 … … 315 316 // Shutdown routine to deactivate preemption 316 317 // Called from kernel_shutdown 317 void kernel_stop_preemption() {318 void __kernel_alarm_shutdown() { 318 319 __cfaabi_dbg_print_safe( "Kernel : Preemption stopping\n" ); 319 320 … … 481 482 sigset_t oldset; 482 483 int ret; 483 ret = pthread_sigmask(0, 0p, &oldset);484 ret = pthread_sigmask(0, ( const sigset_t * ) 0p, &oldset); // workaround trac#208: cast should be unnecessary 484 485 if(ret != 0) { abort("ERROR sigprocmask returned %d", ret); } 485 486
Note: See TracChangeset
for help on using the changeset viewer.