Amazon Kinesis Webrtc C SDK
ThreadpoolContext.h
Go to the documentation of this file.
1 /*******************************************
2 Main internal include file
3 *******************************************/
4 #ifndef __KINESIS_VIDEO_WEBRTC_CLIENT_THREADPOOLCONTEXT__
5 #define __KINESIS_VIDEO_WEBRTC_CLIENT_THREADPOOLCONTEXT__
6 
7 #pragma once
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
14 // Project include files
16 
17 typedef struct {
18  PThreadpool pThreadpool;
22 
23 PUBLIC_API STATUS createThreadPoolContext();
25 PUBLIC_API STATUS threadpoolContextPush(startRoutine, PVOID);
26 PUBLIC_API STATUS destroyThreadPoolContext();
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 #endif /* __KINESIS_VIDEO_WEBRTC_CLIENT_THREADPOOLCONTEXT__ */
PUBLIC_API STATUS createThreadPoolContext()
Definition: ThreadPoolContext.c:11
PUBLIC_API STATUS getThreadPoolContext(PThreadPoolContext)
PUBLIC_API STATUS threadpoolContextPush(startRoutine, PVOID)
Definition: ThreadPoolContext.c:45
PUBLIC_API STATUS destroyThreadPoolContext()
Definition: ThreadPoolContext.c:65
struct ThreadPoolContext * PThreadPoolContext
Definition: ThreadpoolContext.h:17
MUTEX threadpoolContextLock
Definition: ThreadpoolContext.h:20
PThreadpool pThreadpool
Definition: ThreadpoolContext.h:18
BOOL isInitialized
Definition: ThreadpoolContext.h:19