mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
25 lines
350 B
Beef
25 lines
350 B
Beef
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
|
|
}
|
|
}
|