w32threads to pthreads wrapper More...
#include <windows.h>
#include <process.h>
Go to the source code of this file.
w32threads to pthreads wrapper
Definition in file w32pthreads.h.
#define WIN32_LEAN_AND_MEAN |
Definition at line 38 of file w32pthreads.h.
typedef CRITICAL_SECTION pthread_mutex_t |
Definition at line 51 of file w32pthreads.h.
static BOOL | ( | WINAPI * | cond_wait | ) | [static] |
static void pthread_cond_broadcast | ( | pthread_cond_t * | cond | ) | [static] |
Definition at line 166 of file w32pthreads.h.
Referenced by avcodec_thread_execute(), ff_thread_finish_setup(), ff_thread_report_progress(), and thread_free().
static void pthread_cond_destroy | ( | pthread_cond_t * | cond | ) | [static] |
Definition at line 150 of file w32pthreads.h.
Referenced by frame_thread_free(), and thread_free().
static void pthread_cond_init | ( | pthread_cond_t * | cond, |
const void * | unused_attr | ||
) | [static] |
Definition at line 126 of file w32pthreads.h.
Referenced by frame_thread_init(), and thread_init().
static void pthread_cond_signal | ( | pthread_cond_t * | cond | ) | [static] |
Definition at line 229 of file w32pthreads.h.
Referenced by ff_thread_get_buffer(), frame_thread_free(), frame_worker_thread(), submit_packet(), and worker().
static void pthread_cond_wait | ( | pthread_cond_t * | cond, |
pthread_mutex_t * | mutex | ||
) | [static] |
Definition at line 197 of file w32pthreads.h.
Referenced by avcodec_thread_park_workers(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_get_buffer(), frame_worker_thread(), park_frame_worker_threads(), submit_packet(), and worker().
static int pthread_create | ( | pthread_t * | thread, |
const void * | unused_attr, | ||
void *(*)(void *) | start_routine, | ||
void * | arg | ||
) | [static] |
Definition at line 74 of file w32pthreads.h.
Referenced by frame_thread_init(), and thread_init().
static void pthread_join | ( | pthread_t | thread, |
void ** | value_ptr | ||
) | [static] |
Definition at line 84 of file w32pthreads.h.
Referenced by frame_thread_free(), and thread_free().
static int pthread_mutex_destroy | ( | pthread_mutex_t * | m | ) | [inline, static] |
Definition at line 99 of file w32pthreads.h.
Referenced by ff_tls_deinit(), ff_vda_destroy_decoder(), frame_thread_free(), pthread_cond_destroy(), and thread_free().
static int pthread_mutex_init | ( | pthread_mutex_t * | m, |
void * | attr | ||
) | [inline, static] |
Definition at line 94 of file w32pthreads.h.
Referenced by ff_tls_init(), ff_vda_create_decoder(), frame_thread_init(), pthread_cond_init(), and thread_init().
static int pthread_mutex_lock | ( | pthread_mutex_t * | m | ) | [inline, static] |
Definition at line 104 of file w32pthreads.h.
Referenced by avcodec_thread_execute(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_vda_queue_pop(), frame_thread_free(), frame_worker_thread(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), release_delayed_buffers(), submit_packet(), thread_free(), thread_init(), vda_clear_queue(), vda_decoder_callback(), and worker().
static int pthread_mutex_unlock | ( | pthread_mutex_t * | m | ) | [inline, static] |
Definition at line 109 of file w32pthreads.h.
Referenced by avcodec_thread_park_workers(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_vda_queue_pop(), frame_thread_free(), frame_worker_thread(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), release_delayed_buffers(), submit_packet(), thread_free(), thread_init(), vda_clear_queue(), vda_decoder_callback(), and worker().
static void | ( | WINAPI * | cond_broadcast | ) | [static] |
static void w32thread_init | ( | void | ) | [static] |
Definition at line 254 of file w32pthreads.h.
Referenced by ff_thread_init().
static unsigned __stdcall attribute_align_arg win32thread_worker | ( | void * | arg | ) | [static] |
Definition at line 67 of file w32pthreads.h.
Referenced by pthread_create().
pthread_mutex_t DWORD milliseconds |
Definition at line 64 of file w32pthreads.h.
Definition at line 64 of file w32pthreads.h.