Ignore:
Timestamp:
2018-08-01T18:15:53Z (6 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/atomic.c

    r6340b4d2 r1de92fb0  
    3636 */
    3737
     38void __sync_synchronize(void)
     39{
     40        // FIXME: Full memory barrier. We need a syscall for this.
     41        // Should we implement this or is empty definition ok here?
     42}
     43
    3844unsigned __sync_add_and_fetch_4(volatile void *vptr, unsigned val)
    3945{
Note: See TracChangeset for help on using the changeset viewer.