Changeset 7222630 for libcfa/src/concurrency/io
- Timestamp:
- Jan 14, 2021, 1:13:47 PM (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:
- 03ecdcf, 54cc2bf, ee59ede
- Parents:
- b0f6190a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io/setup.cfa
rb0f6190a r7222630 314 314 } 315 315 316 extern void signal_block( int sig);317 extern void signal_unblock( int sig);316 extern void __disable_interrupts_hard(); 317 extern void __enable_interrupts_hard(); 318 318 319 319 static void __io_create( __io_data & this, const io_context_params & params_in ) { … … 434 434 // io_uring_register is so f*cking slow on some machine that it 435 435 // will never succeed if preemption isn't hard blocked 436 signal_block( SIGUSR1);436 __disable_interrupts_hard(); 437 437 438 438 int efd = eventfd(0, 0); … … 446 446 } 447 447 448 signal_unblock( SIGUSR1);448 __enable_interrupts_hard(); 449 449 450 450 // some paranoid checks
Note: See TracChangeset
for help on using the changeset viewer.