tap-win32.c | 96 HANDLE tap_semaphore; member in struct:tap_win32_overlapped 446 overlapped->tap_semaphore = CreateSemaphore(NULL, 0, TUN_MAX_BUFFER_COUNT, NULL); 447 if(!overlapped->tap_semaphore) 448 fprintf(stderr, "error creating tap_semaphore.\n"); 530 ReleaseSemaphore(overlapped->tap_semaphore, 1, NULL); 639 qemu_del_wait_object(s->handle->tap_semaphore, NULL, NULL); 687 qemu_add_wait_object(s->handle->tap_semaphore, tap_win32_send, s);
|