Ignore:
File:
1 edited

Legend:

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

    rd161715 r7f122e3  
    3636#define LIBC_FIBRIL_SYNCH_H_
    3737
     38#include <async.h>
    3839#include <fibril.h>
    3940#include <adt/list.h>
    4041#include <libarch/tls.h>
    4142#include <sys/time.h>
    42 #include <bool.h>
    4343
    4444typedef struct {
    45         fibril_owner_info_t oi;  /**< Keep this the first thing. */
     45        fibril_owner_info_t oi;         /* Keep this the first thing. */
    4646        int counter;
    4747        link_t waiters;
     
    6464
    6565typedef struct {
    66         fibril_owner_info_t oi;  /**< Keep this the first thing. */
     66        fibril_owner_info_t oi; /* Keep this the first thing. */
    6767        unsigned writers;
    6868        unsigned readers;
     
    105105extern bool fibril_mutex_trylock(fibril_mutex_t *);
    106106extern void fibril_mutex_unlock(fibril_mutex_t *);
    107 extern bool fibril_mutex_is_locked(fibril_mutex_t *);
    108107
    109108extern void fibril_rwlock_initialize(fibril_rwlock_t *);
     
    112111extern void fibril_rwlock_read_unlock(fibril_rwlock_t *);
    113112extern void fibril_rwlock_write_unlock(fibril_rwlock_t *);
    114 extern bool fibril_rwlock_is_read_locked(fibril_rwlock_t *);
    115 extern bool fibril_rwlock_is_write_locked(fibril_rwlock_t *);
    116 extern bool fibril_rwlock_is_locked(fibril_rwlock_t *);
    117113
    118114extern void fibril_condvar_initialize(fibril_condvar_t *);
Note: See TracChangeset for help on using the changeset viewer.