mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Added Semaphore and Mutex
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
namespace GlitchyEngine.Threading
|
||||
{
|
||||
public enum LockResult
|
||||
{
|
||||
/**
|
||||
* The lock was released by the owning thread.
|
||||
*/
|
||||
Released,
|
||||
/**
|
||||
* The owning thread terminated without releasing the lock.
|
||||
*/
|
||||
Abandoned,
|
||||
/**
|
||||
* The lock function timed out.
|
||||
*/
|
||||
Timeout,
|
||||
/**
|
||||
* The function has failed.
|
||||
*/
|
||||
Failed,
|
||||
|
||||
Unknown
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user