41 lines
831 B
C++
41 lines
831 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: ELoopSource.hpp
|
||
|
Date: 2022-2-9
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::Loop
|
||
|
{
|
||
|
enum class ELoopSource
|
||
|
{
|
||
|
eSourceInternalReserved1,
|
||
|
eSourceInternalReserved2,
|
||
|
eSourceInternalReserved3,
|
||
|
eSourceInternalReserved4,
|
||
|
|
||
|
// generic
|
||
|
eSourceSemaphore,
|
||
|
eSourceCV,
|
||
|
eSourceEvent,
|
||
|
eSourceMutex,
|
||
|
eSourceSRW,
|
||
|
eSourceSocketGroup,
|
||
|
eSourceTimer,
|
||
|
eSourceAIO,
|
||
|
eSourceHandle,
|
||
|
|
||
|
// Specific to the runtime subsystem
|
||
|
eSourceAsync,
|
||
|
|
||
|
// glib oses only
|
||
|
eSourceGlib,
|
||
|
|
||
|
// window messge loops
|
||
|
eSourceApple,
|
||
|
eSourceX11,
|
||
|
eSourceWin32
|
||
|
};
|
||
|
}
|