libavcodec/w32pthreads.h File Reference

w32threads to pthreads wrapper More...

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

Go to the source code of this file.

Data Structures

struct  pthread_t
struct  pthread_cond_t
struct  win32_cond_t

Defines

#define WIN32_LEAN_AND_MEAN

Typedefs

typedef CRITICAL_SECTION pthread_mutex_t

Functions

static void (WINAPI *cond_broadcast)(pthread_cond_t *cond)
static BOOL (WINAPI *cond_wait)(pthread_cond_t *cond
static unsigned __stdcall
attribute_align_arg 
win32thread_worker (void *arg)
static int pthread_create (pthread_t *thread, const void *unused_attr, void *(*start_routine)(void *), void *arg)
static void pthread_join (pthread_t thread, void **value_ptr)
static int pthread_mutex_init (pthread_mutex_t *m, void *attr)
static int pthread_mutex_destroy (pthread_mutex_t *m)
static int pthread_mutex_lock (pthread_mutex_t *m)
static int pthread_mutex_unlock (pthread_mutex_t *m)
static void pthread_cond_init (pthread_cond_t *cond, const void *unused_attr)
static void pthread_cond_destroy (pthread_cond_t *cond)
static void pthread_cond_broadcast (pthread_cond_t *cond)
static int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)
static void pthread_cond_signal (pthread_cond_t *cond)
static void w32thread_init (void)

Variables

static pthread_mutex_tmutex
static pthread_mutex_t DWORD milliseconds


Detailed Description

w32threads to pthreads wrapper

Definition in file w32pthreads.h.


Define Documentation

#define WIN32_LEAN_AND_MEAN

Definition at line 38 of file w32pthreads.h.


Typedef Documentation

typedef CRITICAL_SECTION pthread_mutex_t

Definition at line 55 of file w32pthreads.h.


Function Documentation

static BOOL ( WINAPI *  cond_wait  )  [static]

static void pthread_cond_broadcast ( pthread_cond_t cond  )  [static]

Definition at line 170 of file w32pthreads.h.

static void pthread_cond_destroy ( pthread_cond_t cond  )  [static]

Definition at line 154 of file w32pthreads.h.

static void pthread_cond_init ( pthread_cond_t cond,
const void *  unused_attr 
) [static]

Definition at line 130 of file w32pthreads.h.

static void pthread_cond_signal ( pthread_cond_t cond  )  [static]

Definition at line 233 of file w32pthreads.h.

static int pthread_cond_wait ( pthread_cond_t cond,
pthread_mutex_t mutex 
) [static]

Definition at line 201 of file w32pthreads.h.

static int pthread_create ( pthread_t thread,
const void *  unused_attr,
void *(*)(void *)  start_routine,
void *  arg 
) [static]

Definition at line 78 of file w32pthreads.h.

static void pthread_join ( pthread_t  thread,
void **  value_ptr 
) [static]

Definition at line 88 of file w32pthreads.h.

static int pthread_mutex_destroy ( pthread_mutex_t m  )  [inline, static]

Definition at line 103 of file w32pthreads.h.

static int pthread_mutex_init ( pthread_mutex_t m,
void *  attr 
) [inline, static]

Definition at line 98 of file w32pthreads.h.

static int pthread_mutex_lock ( pthread_mutex_t m  )  [inline, static]

Definition at line 108 of file w32pthreads.h.

static int pthread_mutex_unlock ( pthread_mutex_t m  )  [inline, static]

Definition at line 113 of file w32pthreads.h.

static void ( WINAPI *  cond_broadcast  )  [static]

static void w32thread_init ( void   )  [static]

Definition at line 258 of file w32pthreads.h.

Referenced by ff_thread_init().

static unsigned __stdcall attribute_align_arg win32thread_worker ( void *  arg  )  [static]

Definition at line 71 of file w32pthreads.h.

Referenced by pthread_create().


Variable Documentation

Definition at line 68 of file w32pthreads.h.

Definition at line 68 of file w32pthreads.h.


Generated on Fri Oct 26 02:50:08 2012 for FFmpeg by  doxygen 1.5.8