3 #include "../kernel/mutex.h"
4 #include "../kernel/condvar.h"
6 #define NX_SESSION_MGR_MAX_SESSIONS 16
10 Handle sessions[NX_SESSION_MGR_MAX_SESSIONS];
21 void sessionmgrDetachClient(
SessionMgr* mgr,
int slot);
25 return mgr->sessions[slot];
u32 CondVar
Condition variable.
Definition: condvar.h:13
_LOCK_T Mutex
Mutex datatype, defined in newlib.
Definition: mutex.h:12
Definition: sessionmgr.h:9
u32 Handle
Kernel object handle.
Definition: types.h:43
u32 Result
Function error code result type.
Definition: types.h:44
#define NX_CONSTEXPR
Flags a function as constexpr in C++14 and above; or as (always) inline otherwise.
Definition: types.h:92
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21