Space Engineers
Public Member Functions | List of all members
VRage.IResourceLock Interface Reference
Inheritance diagram for VRage.IResourceLock:
VRage.FastResourceLock

Public Member Functions

void AcquireExclusive ()
 Acquires the lock in exclusive mode, blocking if necessary. More...
 
void AcquireShared ()
 Acquires the lock in shared mode, blocking if necessary. More...
 
void ReleaseExclusive ()
 Releases the lock in exclusive mode. More...
 
void ReleaseShared ()
 Releases the lock in shared mode. More...
 
bool TryAcquireExclusive ()
 Attempts to acquire the lock in exclusive mode. More...
 
bool TryAcquireShared ()
 Attempts to acquire the lock in shared mode. More...
 

Detailed Description

Definition at line 3 of file IResourceLock.cs.

Member Function Documentation

void VRage.IResourceLock.AcquireExclusive ( )

Acquires the lock in exclusive mode, blocking if necessary.

Implemented in VRage.FastResourceLock.

void VRage.IResourceLock.AcquireShared ( )

Acquires the lock in shared mode, blocking if necessary.

Implemented in VRage.FastResourceLock.

void VRage.IResourceLock.ReleaseExclusive ( )

Releases the lock in exclusive mode.

Implemented in VRage.FastResourceLock.

void VRage.IResourceLock.ReleaseShared ( )

Releases the lock in shared mode.

Implemented in VRage.FastResourceLock.

bool VRage.IResourceLock.TryAcquireExclusive ( )

Attempts to acquire the lock in exclusive mode.

Returns
Whether the lock was acquired.

Implemented in VRage.FastResourceLock.

bool VRage.IResourceLock.TryAcquireShared ( )

Attempts to acquire the lock in shared mode.

Returns
Whether the lock was acquired.

Implemented in VRage.FastResourceLock.


The documentation for this interface was generated from the following file: