Changeset c993b15 for libcfa/src/concurrency/preemption.cfa
- Timestamp:
- Apr 29, 2021, 4:26:25 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3eb55f98
- Parents:
- b2fc7ad9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/preemption.cfa
rb2fc7ad9 rc993b15 687 687 // Waits on SIGALRM and send SIGUSR1 to whom ever needs it 688 688 static void * alarm_loop( __attribute__((unused)) void * args ) { 689 __processor_id_t id; 690 register_proc_id(&id); 691 __cfaabi_tls.this_proc_id = &id; 692 689 unsigned id = register_proc_id(); 693 690 694 691 // Block sigalrms to control when they arrive … … 749 746 EXIT: 750 747 __cfaabi_dbg_print_safe( "Kernel : Preemption thread stopping\n" ); 751 register_proc_id(&id);748 unregister_proc_id(id); 752 749 753 750 return 0p;
Note: See TracChangeset
for help on using the changeset viewer.