Commit b709c6bd authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣

Merge branch 'rw-lock-docs' into 'master'

gthread: Clarify priority handling in GRWLock

See merge request GNOME/glib!376
parents 48c2d94d 321b9d3b
Pipeline #46918 failed with stages
in 17 minutes and 35 seconds
......@@ -320,6 +320,10 @@
* simultaneous read-only access (by holding the 'reader' lock via
* g_rw_lock_reader_lock()).
*
* It is unspecified whether readers or writers have priority in acquiring the
* lock when a reader already holds the lock and a writer is queued to acquire
* it.
*
* Here is an example for an array with access functions:
* |[<!-- language="C" -->
* GRWLock lock;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment