Changeset 482fa08
- Timestamp:
- Aug 21, 2020, 9:01:29 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ba70330
- Parents:
- c5cbc099
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/preemption.cfa
rc5cbc099 r482fa08 10 10 // Created On : Mon Jun 5 14:20:42 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 17 11:36:25202013 // Update Count : 4612 // Last Modified On : Fri Aug 21 07:54:40 2020 13 // Update Count : 51 14 14 // 15 15 … … 57 57 #define CFA_REG_IP gregs[REG_RIP] 58 58 #elif defined( __ARM_ARCH ) 59 #define CFA_REG_IP arm_pc59 #define CFA_REG_IP pc 60 60 #else 61 61 #error unknown hardware architecture … … 365 365 // SKULLDUGGERY: if a thread creates a processor and the immediately deletes it, 366 366 // the interrupt that is supposed to force the kernel thread to preempt might arrive 367 // before the kernel thread has even started running. When that happens an iterrupt367 // before the kernel thread has even started running. When that happens, an interrupt 368 368 // we a null 'this_processor' will be caught, just ignore it. 369 369 if(! kernelTLS.this_processor ) return;
Note: See TracChangeset
for help on using the changeset viewer.