mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'rw-lock-docs' into 'master'
gthread: Clarify priority handling in GRWLock See merge request GNOME/glib!376
This commit is contained in:
commit
b709c6bde4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user