#include <pthread.h>
#include "7zTypes.h"
Go to the source code of this file.
|
WRes | Thread_Close (CThread *p) |
|
WRes | Thread_Create (CThread *p, THREAD_FUNC_TYPE func, LPVOID param) |
|
WRes | Thread_Create_With_Affinity (CThread *p, THREAD_FUNC_TYPE func, LPVOID param, CAffinityMask affinity) |
|
WRes | Thread_Wait_Close (CThread *p) |
|
WRes | Thread_Create_With_CpuSet (CThread *p, THREAD_FUNC_TYPE func, LPVOID param, const CCpuSet *cpuSet) |
|
WRes | ManualResetEvent_Create (CManualResetEvent *p, int signaled) |
|
WRes | ManualResetEvent_CreateNotSignaled (CManualResetEvent *p) |
|
WRes | AutoResetEvent_Create (CAutoResetEvent *p, int signaled) |
|
WRes | AutoResetEvent_CreateNotSignaled (CAutoResetEvent *p) |
|
WRes | Event_Set (CEvent *p) |
|
WRes | Event_Reset (CEvent *p) |
|
WRes | Event_Wait (CEvent *p) |
|
WRes | Event_Close (CEvent *p) |
|
WRes | Semaphore_Create (CSemaphore *p, UInt32 initCount, UInt32 maxCount) |
|
WRes | Semaphore_OptCreateInit (CSemaphore *p, UInt32 initCount, UInt32 maxCount) |
|
WRes | Semaphore_ReleaseN (CSemaphore *p, UInt32 num) |
|
WRes | Semaphore_Wait (CSemaphore *p) |
|
WRes | Semaphore_Close (CSemaphore *p) |
|
WRes | CriticalSection_Init (CCriticalSection *p) |
|
void | CriticalSection_Delete (CCriticalSection *cs) |
|
void | CriticalSection_Enter (CCriticalSection *cs) |
|
void | CriticalSection_Leave (CCriticalSection *cs) |
|
LONG | InterlockedIncrement (LONG volatile *addend) |
|
WRes | AutoResetEvent_OptCreate_And_Reset (CAutoResetEvent *p) |
|
◆ CpuSet_IsSet
#define CpuSet_IsSet |
( |
| p, |
|
|
| cpu ) |
Value:((*(p) & ((
UInt64)1 << (cpu))) != 0)
unsigned long long int UInt64
Definition 7zTypes.h:234
◆ CpuSet_Set
#define CpuSet_Set |
( |
| p, |
|
|
| cpu ) |
◆ CpuSet_Zero
◆ Event_Construct
#define Event_Construct |
( |
| p | ) |
|
◆ Event_IsCreated
#define Event_IsCreated |
( |
| p | ) |
|
◆ Semaphore_Construct
#define Semaphore_Construct |
( |
| p | ) |
|
◆ Semaphore_IsCreated
#define Semaphore_IsCreated |
( |
| p | ) |
|
◆ Semaphore_Release1
#define Semaphore_Release1 |
( |
| p | ) |
|
Value:
WRes Semaphore_ReleaseN(CSemaphore *p, UInt32 num)
Definition Threads.c:458
◆ Thread_CONSTRUCT
#define Thread_CONSTRUCT |
( |
| p | ) |
|
Value:{ (p)->_tid = 0; (p)->_created = 0; }
◆ THREAD_FUNC_ATTRIB_ALIGN_ARG
#define THREAD_FUNC_ATTRIB_ALIGN_ARG |
◆ THREAD_FUNC_CALL_TYPE
◆ THREAD_FUNC_DECL
◆ THREAD_FUNC_RET_ZERO
#define THREAD_FUNC_RET_ZERO NULL |
◆ Thread_WasCreated
#define Thread_WasCreated |
( |
| p | ) |
|
◆ CCriticalSection
◆ CEvent
◆ CSemaphore
◆ THREAD_FUNC_RET_TYPE
◆ THREAD_FUNC_TYPE
◆ AutoResetEvent_Create()
◆ AutoResetEvent_CreateNotSignaled()
◆ AutoResetEvent_OptCreate_And_Reset()
◆ CriticalSection_Delete()
◆ CriticalSection_Enter()
◆ CriticalSection_Init()
◆ CriticalSection_Leave()
◆ Event_Close()
◆ Event_Reset()
◆ Event_Set()
◆ Event_Wait()
◆ InterlockedIncrement()
LONG InterlockedIncrement |
( |
LONG volatile * | addend | ) |
|
◆ ManualResetEvent_Create()
◆ ManualResetEvent_CreateNotSignaled()
◆ Semaphore_Close()
◆ Semaphore_Create()
◆ Semaphore_OptCreateInit()
◆ Semaphore_ReleaseN()
◆ Semaphore_Wait()
◆ Thread_Close()
◆ Thread_Create()
◆ Thread_Create_With_Affinity()
◆ Thread_Create_With_CpuSet()
◆ Thread_Wait_Close()