Changeset d742db21 in mainline for uspace/lib/c/include


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:
6340b4d2
Parents:
6bb136b2
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-30 21:07:49)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-01 18:15:53)
Message:

Implement down_timeout() and close() operations for fibril semaphore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/fibril_synch.h

    r6bb136b2 rd742db21  
    186186        long int count;
    187187        list_t waiters;
     188        bool closed;
    188189} fibril_semaphore_t;
    189190
     
    241242extern void fibril_semaphore_up(fibril_semaphore_t *);
    242243extern void fibril_semaphore_down(fibril_semaphore_t *);
     244extern errno_t fibril_semaphore_down_timeout(fibril_semaphore_t *, suseconds_t);
     245extern void fibril_semaphore_close(fibril_semaphore_t *);
    243246
    244247#endif
Note: See TracChangeset for help on using the changeset viewer.