Libav
|
w32threads to pthreads wrapper More...
#include <windows.h>
#include <process.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 |
Macros | |
#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_t * | mutex |
static pthread_mutex_t DWORD | milliseconds |
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 54 of file w32pthreads.h.
|
static |
|
static |
Referenced by av_get_random_seed().
|
static |
Definition at line 77 of file w32pthreads.h.
Referenced by pthread_create().
|
static |
Definition at line 84 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_slice_thread_init(), and thread_init_internal().
Definition at line 94 of file w32pthreads.h.
Referenced by ff_frame_thread_free(), ff_slice_thread_free(), and slice_thread_uninit().
|
inlinestatic |
Definition at line 104 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_slice_thread_init(), ff_tls_init(), pthread_cond_init(), thread_init_internal(), and update_dimensions().
|
inlinestatic |
Definition at line 109 of file w32pthreads.h.
Referenced by ff_frame_thread_free(), ff_slice_thread_free(), ff_tls_deinit(), free_buffers(), pthread_cond_destroy(), and slice_thread_uninit().
|
inlinestatic |
Definition at line 114 of file w32pthreads.h.
Referenced by ff_frame_thread_free(), ff_slice_thread_free(), ff_slice_thread_init(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), frame_worker_thread(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), release_delayed_buffers(), slice_thread_uninit(), submit_packet(), thread_execute(), thread_init_internal(), and worker().
|
inlinestatic |
Definition at line 119 of file w32pthreads.h.
Referenced by ff_frame_thread_free(), ff_slice_thread_free(), ff_slice_thread_init(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), frame_worker_thread(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), release_delayed_buffers(), slice_thread_park_workers(), slice_thread_uninit(), submit_packet(), thread_init_internal(), thread_park_workers(), and worker().
|
static |
Definition at line 136 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_slice_thread_init(), thread_init_internal(), and update_dimensions().
|
static |
Definition at line 160 of file w32pthreads.h.
Referenced by ff_frame_thread_free(), ff_slice_thread_free(), free_buffers(), and slice_thread_uninit().
|
static |
Definition at line 176 of file w32pthreads.h.
Referenced by ff_slice_thread_free(), ff_thread_finish_setup(), ff_thread_report_progress(), slice_thread_uninit(), and thread_execute().
|
static |
Definition at line 207 of file w32pthreads.h.
Referenced by ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_get_buffer(), frame_worker_thread(), park_frame_worker_threads(), slice_thread_park_workers(), submit_packet(), thread_park_workers(), and worker().
|
static |
Definition at line 239 of file w32pthreads.h.
Referenced by ff_frame_thread_free(), ff_thread_get_buffer(), frame_worker_thread(), submit_packet(), and worker().
Definition at line 264 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_graph_thread_init(), and ff_slice_thread_init().
pthread_mutex_t* mutex |
Definition at line 68 of file w32pthreads.h.
pthread_mutex_t DWORD milliseconds |
Definition at line 68 of file w32pthreads.h.