Changeset a757ba1 for libcfa/src/concurrency/kernel/startup.cfa
- Timestamp:
- Nov 10, 2022, 12:17:20 PM (18 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 639e4fc
- Parents:
- 6a4ef0c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r6a4ef0c ra757ba1 115 115 KERNEL_STORAGE(thread$, mainThread); 116 116 KERNEL_STORAGE(__stack_t, mainThreadCtx); 117 // KERNEL_STORAGE(__scheduler_RWLock_t, __scheduler_lock);118 KERNEL_STORAGE(eventfd_t, mainIdleEventFd);119 KERNEL_STORAGE(io_future_t, mainIdleFuture);120 117 #if !defined(__CFA_NO_STATISTICS__) 121 118 KERNEL_STORAGE(__stats_t, mainProcStats); … … 235 232 (*mainProcessor){}; 236 233 237 mainProcessor->idle_wctx.rdbuf = &storage_mainIdleEventFd;238 mainProcessor->idle_wctx.ftr = (io_future_t*)&storage_mainIdleFuture;239 /* paranoid */ verify( sizeof(storage_mainIdleEventFd) == sizeof(eventfd_t) );240 241 234 __cfa_io_start( mainProcessor ); 242 235 register_tls( mainProcessor ); … … 384 377 register_tls( proc ); 385 378 386 // used for idle sleep when io_uring is present 387 io_future_t future; 388 eventfd_t idle_buf; 389 proc->idle_wctx.ftr = &future; 390 proc->idle_wctx.rdbuf = &idle_buf; 379 // io_future_t future; 380 // eventfd_t idle_buf; 381 // proc->idle_wctx.ftr = &future; 382 // proc->idle_wctx.rdbuf = &idle_buf; 391 383 392 384
Note: See TracChangeset
for help on using the changeset viewer.