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