Searched refs:have_writer (Results 1 – 3 of 3) sorted by relevance
820 while (lock->have_writer || lock->want_to_write) in g_static_rw_lock_reader_lock()838 if (!lock->have_writer && !lock->want_to_write) in g_static_rw_lock_reader_trylock()872 while (lock->have_writer || lock->read_counter) in g_static_rw_lock_writer_lock()875 lock->have_writer = TRUE; in g_static_rw_lock_writer_lock()890 if (!lock->have_writer && !lock->read_counter) in g_static_rw_lock_writer_trylock()892 lock->have_writer = TRUE; in g_static_rw_lock_writer_trylock()908 lock->have_writer = FALSE; in g_static_rw_lock_writer_unlock()
289 gboolean have_writer; member
127 structure to 'have_writer' to avoid any possible