Changeset b81fd95 for libcfa/src/concurrency
- Timestamp:
- Jul 29, 2020, 11:29:01 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:
- 0c760db
- Parents:
- 1d17939
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r1d17939 rb81fd95 1075 1075 1076 1076 void kernel_abort_msg( void * kernel_data, char * abort_text, int abort_text_size ) { 1077 $thread * thrd = kernel_data;1077 $thread * thrd = ( $thread * ) kernel_data; 1078 1078 1079 1079 if(thrd) { -
libcfa/src/concurrency/preemption.cfa
r1d17939 rb81fd95 481 481 sigset_t oldset; 482 482 int ret; 483 ret = pthread_sigmask(0, 0p, &oldset);483 ret = pthread_sigmask(0, ( const sigset_t * ) 0p, &oldset); // workaround trac#208: cast should be unnecessary 484 484 if(ret != 0) { abort("ERROR sigprocmask returned %d", ret); } 485 485
Note: See TracChangeset
for help on using the changeset viewer.