Changeset 11054eb for libcfa/src/concurrency/io/setup.cfa
- Timestamp:
- Mar 17, 2021, 4:52:22 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:
- 5c2b454
- Parents:
- c407434e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io/setup.cfa
rc407434e r11054eb 110 110 this.arbiter = cl.io.arbiter; 111 111 this.ext_sq.empty = true; 112 (this.ext_sq. blocked){};112 (this.ext_sq.queue){}; 113 113 __io_uring_setup( this, cl.io.params, proc->idle ); 114 114 __cfadbg_print_safe(io_core, "Kernel I/O : Created ring for io_context %u (%p)\n", this.fd, &this); … … 329 329 //============================================================================================= 330 330 void ?{}( $io_arbiter & this ) { 331 this.pending.flag = false; 332 } 333 334 void ^?{}( $io_arbiter & mutex this ) { 335 // /* paranoid */ verify( empty(this.assigned) ); 336 // /* paranoid */ verify( empty(this.available) ); 337 /* paranoid */ verify( is_empty(this.pending.blocked) ); 338 } 331 this.pending.empty = true; 332 } 333 334 void ^?{}( $io_arbiter & this ) {} 339 335 340 336 $io_arbiter * create(void) {
Note: See TracChangeset
for help on using the changeset viewer.