Ignore:
Timestamp:
Jun 18, 2017, 10:06:41 PM (7 years ago)
Author:
alain
Message:

Introduce syscalls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/remote_rwlock.h

    r14 r23  
    3030
    3131/***************************************************************************************
    32  * This structure defines a remote rwdlock,that supports several simultaneous read
     32 * This file defines a remote kernel lock, that supports several simultaneous read
    3333 * accesses, but only one write access. It implements a ticket based allocation policy.
    3434 * It can be used to synchronize threads running in different clusters, because
     
    4141 * When the lock is taken by another thread, the new-comers use a busy waiting policy.
    4242 *
    43  * TODO This could be replaced by a descheduling policy and a threads waiting queue
    44  * implemented in the lock itself: each thread releasing the lock (i.e. incrementing
    45  * the current field) activates the first waiting thread...
     43 * It uses a busy-waiting policy if the lock is already allocated to another thread.
    4644 **************************************************************************************/
    4745
Note: See TracChangeset for help on using the changeset viewer.