Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel

    rc81ebf9 r1c273d0  
    2828//-----------------------------------------------------------------------------
    2929// Locks
    30 bool try_lock( spinlock * );
    31 void lock( spinlock * );
     30bool try_lock( spinlock *
     31        #ifdef __CFA_DEBUG__
     32                , const char * caller
     33        #endif
     34);
     35
     36void lock( spinlock *
     37        #ifdef __CFA_DEBUG__
     38                , const char * caller
     39        #endif
     40);
     41
    3242void unlock( spinlock * );
    3343
     
    7888        struct processorCtx_t * runner;
    7989        cluster * cltr;
    80         coroutine_desc * current_coroutine;
    81         thread_desc * current_thread;
    8290        pthread_t kernel_thread;
    8391       
     
    9098        unsigned int preemption;
    9199
    92         unsigned short disable_preempt_count;
     100        bool pending_preemption;
    93101
    94         bool pending_preemption;
     102        char * last_enable;
    95103};
    96104
Note: See TracChangeset for help on using the changeset viewer.