Ignore:
Timestamp:
Feb 12, 2019, 1:15:47 PM (6 years ago)
Author:
alain
Message:

1) Fix a bug in KSH : after the "load" command,

the [ksh] prompt is now printed after completion
of the loaded application.

2) Fix a bug in vmm_handle_cow() : the copy-on-write

use now a hal_remote_memcpy() to replicate the page content.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/libsemaphore/semaphore.h

    r573 r619  
    2727//////////////////////////////////////////////////////////////////////////////////////////////
    2828//             POSIX unnamed semaphores related functions
     29//
     30// This synchonisation object allows several thread in a given process to share one
     31// (or several) shared resource(s).
     32// - The sem_wait() function allows a thread to take one resource and atomically
     33//   decrement the semaphore count. If the count value is zero, the calling thread
     34//   blocks and deschedules. It is unblocked by another thread when it becomes possible
     35//   to make the decrement.
     36// - the sem_post() functions allows a thread to release a resource and atomicalli
     37//   increment the semaphore count.
    2938//////////////////////////////////////////////////////////////////////////////////////////////
    3039
     
    3746 * @ sem         : [in]  pointer on semaphore.
    3847 * @ pshared     : [in]  unsupported => must be zero.
    39  * @ value       : [in]  initial semaphore value.
     48 * @ count       : [in]  initial semaphore value.
    4049 * @ return 0 if success / return -1 if failure.
    4150 ********************************************************************************************/
    4251int sem_init( sem_t        * sem,
    4352              int            pshared,
    44               unsigned int   value );
     53              unsigned int   count );
    4554
    4655/*********************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.