Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel

    r1c273d0 rc81ebf9  
    2828//-----------------------------------------------------------------------------
    2929// Locks
    30 bool try_lock( spinlock *
    31         #ifdef __CFA_DEBUG__
    32                 , const char * caller
    33         #endif
    34 );
    35 
    36 void lock( spinlock *
    37         #ifdef __CFA_DEBUG__
    38                 , const char * caller
    39         #endif
    40 );
    41 
     30bool try_lock( spinlock * );
     31void lock( spinlock * );
    4232void unlock( spinlock * );
    4333
     
    8878        struct processorCtx_t * runner;
    8979        cluster * cltr;
     80        coroutine_desc * current_coroutine;
     81        thread_desc * current_thread;
    9082        pthread_t kernel_thread;
    9183       
     
    9890        unsigned int preemption;
    9991
     92        unsigned short disable_preempt_count;
     93
    10094        bool pending_preemption;
    101 
    102         char * last_enable;
    10395};
    10496
Note: See TracChangeset for help on using the changeset viewer.