Ignore:
Timestamp:
Mar 27, 2020, 7:28:06 PM (19 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
bb2e05e
Parents:
f0ce5f4
Message:

Fixed ready state.
Fixed race condition between halt and wake_*

File:
1 edited

Legend:

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

    rf0ce5f4 r92e7631  
    4242void * __create_pthread( pthread_t *, void * (*)(void *), void * );
    4343
    44 static inline void wake_fast(processor * this) {
    45         __cfaabi_dbg_print_safe("Kernel : Waking up processor %p\n", this);
    46         post( this->idleLock );
    47 }
    4844
    49 static inline void wake(processor * this) {
    50         disable_interrupts();
    51         wake_fast(this);
    52         enable_interrupts( __cfaabi_dbg_ctx );
    53 }
    5445
    5546struct event_kernel_t {
Note: See TracChangeset for help on using the changeset viewer.