Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/startup.cfa

    r7cf3b1d r145dcd5  
    102102extern void __wake_proc(processor *);
    103103extern int cfa_main_returned;                                                   // from interpose.cfa
    104 extern uint32_t __global_random_seed;
    105104
    106105//-----------------------------------------------------------------------------
     
    176175        this.context = &storage_mainThreadCtx;
    177176}
     177
    178178
    179179
     
    490490        preferred = ready_queue_new_preferred();
    491491        last_proc = 0p;
    492         random_state = __global_random_seed;
    493492        #if defined( __CFA_WITH_VERIFY__ )
    494493                canary = 0x0D15EA5E0D15EA5Ep;
     
    537536        }
    538537
    539         this.idle_wctx.fd = 0;
    540 
    541         // I'm assuming these two are reserved for standard input and output
    542         // 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 
    546538        #if !defined(__CFA_NO_STATISTICS__)
    547539                print_stats = 0;
     
    597589// Cluster
    598590static void ?{}(__cluster_proc_list & this) {
    599         this.fdw   = 0p;
     591        this.fd    = 0;
    600592        this.idle  = 0;
    601593        this.total = 0;
Note: See TracChangeset for help on using the changeset viewer.