Ignore:
Timestamp:
Dec 5, 2017, 4:20:07 PM (4 years ago)
Author:
alain
Message:

Fix several bugs in the fork() syscall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_atomic.h

    r108 r408  
    6868/*****************************************************************************************
    6969 * This NON blocking function makes an atomic Compare-And-Swap on a 32 bits unsigned int
    70  * shared variable, returning a Boolean to indicate both success and atomicity.
     70 * shared variable, returning a Boolean to indicate success.
    7171 *****************************************************************************************
    7272 * @ ptr     : pointer on the shared variable
    7373 * @ old     : expected value for the shared variable
    7474 * @ new     : value to be written if success
    75  * @ return true if (current == old) and (access is atomic)
     75 * @ return true if success.
    7676 ****************************************************************************************/
    7777bool_t hal_atomic_cas( uint32_t * ptr,
Note: See TracChangeset for help on using the changeset viewer.