Ignore:
Timestamp:
Jun 23, 2017, 10:12:04 AM (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:
d43cd01
Parents:
aa3d77b
Message:

preemption works for threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel

    raa3d77b 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       
Note: See TracChangeset for help on using the changeset viewer.