gtkc.gthreadtypes.GStaticRWLock Struct Reference


Detailed Description

The GStaticRWLock struct represents a read-write lock.

A read-write lock can be used for protecting data that some portions of code only read from, while others also write. In such situations it is desirable that several readers can read at once, whereas of course only one writer may write at a time. Take a look at the following example: Example8.An array with access functions


SourceForge.net Logo DSource.org Logo digitalmars.com Logo