- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel/startup.cfa (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
rd3ba775 r3e1a705 228 228 __init_stats( __cfaabi_tls.this_stats ); 229 229 #endif 230 mainProcessor->local_data = &__cfaabi_tls; 230 231 231 232 // Enable preemption … … 282 283 #endif 283 284 285 mainProcessor->local_data = 0p; 286 284 287 unregister_tls( mainProcessor ); 285 288 … … 329 332 __cfaabi_tls.this_thread = 0p; 330 333 __cfaabi_tls.preemption_state.[enabled, disable_count] = [false, 1]; 334 proc->local_data = &__cfaabi_tls; 331 335 332 336 register_tls( proc ); … … 368 372 #endif 369 373 #endif 374 375 proc->local_data = 0p; 370 376 371 377 unregister_tls( proc ); … … 490 496 this.rdq.id = -1u; 491 497 this.rdq.target = -1u; 492 this.rdq.cutoff = -1ull;498 this.rdq.cutoff = 0ull; 493 499 do_terminate = false; 494 500 preemption_alarm = 0p; … … 500 506 501 507 this.init.thrd = initT; 508 509 this.local_data = 0p; 502 510 503 511 this.idle = eventfd(0, 0);
Note:
See TracChangeset
for help on using the changeset viewer.