Ignore:
File:
1 edited

Legend:

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

    rd5409da rbc56f30  
    153153extern void __fibril_synch_fini(void);
    154154
    155 /** Initialize fibril mutex.
    156  *
    157  * Kept as in-line to allow constexpr marker for C++ library where this
    158  * is used by C++ mutex type (list initialization are two assignments
    159  * so it is actually reasonable to have this inlined).
    160  */
    161 static inline __CONSTEXPR void fibril_mutex_initialize(fibril_mutex_t *fm)
    162 {
    163         fm->oi.owned_by = NULL;
    164         fm->counter = 1;
    165         list_initialize(&fm->waiters);
    166 }
    167 
     155extern void fibril_mutex_initialize(fibril_mutex_t *);
    168156extern void fibril_mutex_lock(fibril_mutex_t *);
    169157extern bool fibril_mutex_trylock(fibril_mutex_t *);
Note: See TracChangeset for help on using the changeset viewer.