FFmpeg
Classes | Macros | Typedefs
w32pthreads.h File Reference

w32threads to pthreads wrapper More...

#include <windows.h>
#include <process.h>
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Classes

struct  pthread_t
 

Macros

#define WIN32_LEAN_AND_MEAN
 
#define PTHREAD_MUTEX_INITIALIZER   SRWLOCK_INIT
 
#define PTHREAD_COND_INITIALIZER   CONDITION_VARIABLE_INIT
 
#define InitializeCriticalSection(x)   InitializeCriticalSectionEx(x, 0, 0)
 
#define WaitForSingleObject(a, b)   WaitForSingleObjectEx(a, b, FALSE)
 
#define PTHREAD_ONCE_INIT   INIT_ONCE_STATIC_INIT
 

Typedefs

typedef struct pthread_t pthread_t
 
typedef SRWLOCK pthread_mutex_t
 
typedef CONDITION_VARIABLE pthread_cond_t
 
typedef INIT_ONCE pthread_once_t
 

Detailed Description

w32threads to pthreads wrapper