mirror of https://github.com/encounter/SDL.git
parent
6a3356ab3f
commit
2fbfe8b912
|
@ -728,6 +728,8 @@ audioqueue_thread(void *arg)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
|
||||||
|
|
||||||
/* init was successful, alert parent thread and start running... */
|
/* init was successful, alert parent thread and start running... */
|
||||||
SDL_SemPost(this->hidden->ready_semaphore);
|
SDL_SemPost(this->hidden->ready_semaphore);
|
||||||
while (!SDL_AtomicGet(&this->hidden->shutdown)) {
|
while (!SDL_AtomicGet(&this->hidden->shutdown)) {
|
||||||
|
|
Loading…
Reference in New Issue