fix warning

This commit is contained in:
nakst 2022-02-02 16:18:36 +00:00
parent a9cbcb685b
commit d579ef1bae
1 changed files with 1 additions and 0 deletions

View File

@ -5363,6 +5363,7 @@ int ExternalSystemGetHostName(ExecutionContext *context, Value *returnValue) {
}
CoroutineState *ExternalCoroutineWaitAny(ExecutionContext *context) {
(void) context;
while (sem_wait(&externalCoroutineSemaphore) == -1);
pthread_mutex_lock(&externalCoroutineMutex);
CoroutineState *unblocked = externalCoroutineUnblockedList;