- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel/startup.cfa (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r7cf3b1d r145dcd5 102 102 extern void __wake_proc(processor *); 103 103 extern int cfa_main_returned; // from interpose.cfa 104 extern uint32_t __global_random_seed;105 104 106 105 //----------------------------------------------------------------------------- … … 176 175 this.context = &storage_mainThreadCtx; 177 176 } 177 178 178 179 179 … … 490 490 preferred = ready_queue_new_preferred(); 491 491 last_proc = 0p; 492 random_state = __global_random_seed;493 492 #if defined( __CFA_WITH_VERIFY__ ) 494 493 canary = 0x0D15EA5E0D15EA5Ep; … … 537 536 } 538 537 539 this.idle_wctx.fd = 0;540 541 // I'm assuming these two are reserved for standard input and output542 // so I'm using them as sentinels with idle_wctx.543 /* paranoid */ verify( this.idle_fd != 0 );544 /* paranoid */ verify( this.idle_fd != 1 );545 546 538 #if !defined(__CFA_NO_STATISTICS__) 547 539 print_stats = 0; … … 597 589 // Cluster 598 590 static void ?{}(__cluster_proc_list & this) { 599 this.fd w = 0p;591 this.fd = 0; 600 592 this.idle = 0; 601 593 this.total = 0;
Note:
See TracChangeset
for help on using the changeset viewer.