DDraceNetwork Documentation
Loading...
Searching...
No Matches
thread.cpp File Reference
#include "thread.h"
#include "dbg.h"
#include "windows.h"
#include <pthread.h>
#include <sched.h>
#include <cstdlib>
Include dependency graph for thread.cpp:

Classes

struct  THREAD_RUN

Functions

static void * thread_run (void *user)
void * thread_init (void(*threadfunc)(void *), void *u, const char *name)
void thread_wait (void *thread)
void thread_yield ()
void thread_detach (void *thread)
void thread_init_and_detach (void(*threadfunc)(void *), void *u, const char *name)

Function Documentation

◆ thread_run()

void * thread_run ( void * user)
static