Ignore:
Timestamp:
2018-08-01T18:15:53Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f787c8e
Parents:
6340b4d2
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-31 22:01:34)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-01 18:15:53)
Message:

Implement MPSC FIFO channel and use it to pass inbound IPC calls to the connection fibril.

Technically, a SPSC channel would be sufficient for this, and might be added
in the future but MPSC is more widely useful.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/thread/fibril.c

    r6340b4d2 r1de92fb0  
    723723}
    724724
     725/**
     726 * Wake up the fibril waiting for the given event.
     727 * Up to one wakeup is remembered if the fibril is not currently waiting.
     728 *
     729 * This function is safe for use under restricted mutex lock.
     730 */
    725731void fibril_notify(fibril_event_t *event)
    726732{
Note: See TracChangeset for help on using the changeset viewer.