Lines Matching full:writer
30 * Currently we have 1 writer only, the Main loop, and many
33 * We distinguish between writer (main loop, under BQL) that modifies the
38 * The writer (main loop) has an "exclusive" access, so it first waits for
43 * access the graph as long the writer is not modifying the graph.
44 * In case it is, they go in a CoQueue and sleep until the writer
48 * AioContext are left intact, since the writer does not care where is the
54 * so that the writer is always aware of all readers.
131 * and if has_writer is set, it means that the writer is modifying
133 * The writer will then wake this coroutine once it is done.
136 * because it signals the writer that there are some
141 * writer, thus won't be able to read and write at the same time.
153 * If the writer is waiting for reads to finish (has_writer == 1), signal
154 * the writer that we are done via aio_wait_kick() to let it continue.
175 * In this way an incoming writer is aware of the read and waits.
181 * Make sure that the writer is the main loop and has set @has_writer,