Table of Contents

Class RWLock

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class RWLock
Inheritance
RWLock
Inherited Members

Methods

Clear(RWLockHandle)

Calls native method g_rw_lock_clear. Version: 2.32

[Version("2.32")]
public static extern void Clear(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False

Init(RWLockHandle)

Calls native method g_rw_lock_init. Version: 2.32

[Version("2.32")]
public static extern void Init(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False

ReaderLock(RWLockHandle)

Calls native method g_rw_lock_reader_lock. Version: 2.32

[Version("2.32")]
public static extern void ReaderLock(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False

ReaderTrylock(RWLockHandle)

Calls native method g_rw_lock_reader_trylock. Version: 2.32

[Version("2.32")]
public static extern bool ReaderTrylock(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ReaderUnlock(RWLockHandle)

Calls native method g_rw_lock_reader_unlock. Version: 2.32

[Version("2.32")]
public static extern void ReaderUnlock(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False

WriterLock(RWLockHandle)

Calls native method g_rw_lock_writer_lock. Version: 2.32

[Version("2.32")]
public static extern void WriterLock(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False

WriterTrylock(RWLockHandle)

Calls native method g_rw_lock_writer_trylock. Version: 2.32

[Version("2.32")]
public static extern bool WriterTrylock(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

WriterUnlock(RWLockHandle)

Calls native method g_rw_lock_writer_unlock. Version: 2.32

[Version("2.32")]
public static extern void WriterUnlock(RWLockHandle rwLock)

Parameters

rwLock RWLockHandle

Transfer ownership: None Nullable: False