Ignore:
Timestamp:
Jul 17, 2017, 3:54:02 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
5bd0aad
Parents:
b706db1
Message:

Some cleanu[ in the kernel, notably phasing out the system processor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel_private.h

    rb706db1 re60e0dc  
    4545thread_desc * nextThread(cluster * this);
    4646
     47//Block current thread and release/wake-up the following resources
    4748void BlockInternal(void);
    4849void BlockInternal(spinlock * lock);
     
    6768struct system_proc_t {
    6869        processor proc;
     70};
    6971
     72struct event_kernel_t {
    7073        alarm_list_t alarms;
    71         spinlock alarm_lock;
    72 
    73         bool pending_alarm;
     74        spinlock lock;
    7475};
    7576
    7677extern cluster * systemCluster;
    7778extern system_proc_t * systemProcessor;
     79extern event_kernel_t * event_kernel;
     80
    7881extern volatile thread_local processor * this_processor;
    7982extern volatile thread_local coroutine_desc * this_coroutine;
Note: See TracChangeset for help on using the changeset viewer.