summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/threads.h
blob: 264931014c3610f431ba2c1e2fbba39f1c4fb823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef AL_THREADS_H
#define AL_THREADS_H

#include "alMain.h"

struct althread_info;
typedef struct althread_info* althread_t;

ALboolean StartThread(althread_t *out, ALuint (*func)(ALvoid*), ALvoid *ptr);
ALuint StopThread(althread_t thread);

void SetThreadName(const char *name);

#endif /* AL_THREADS_H */