mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 03:32:12 +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
|
* simultaneous read-only access (by holding the 'reader' lock via
|
||||||
* g_rw_lock_reader_lock()).
|
* 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:
|
* Here is an example for an array with access functions:
|
||||||
* |[<!-- language="C" -->
|
* |[<!-- language="C" -->
|
||||||
* GRWLock lock;
|
* GRWLock lock;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user