MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fdset_pipe_notify_sync

Function fdset_pipe_notify_sync

dpdk/lib/vhost/fd_man.c:375–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375void
376fdset_pipe_notify_sync(struct fdset *fdset)
377{
378 pthread_mutex_lock(&fdset->sync_mutex);
379
380 fdset->sync = false;
381 fdset_pipe_notify(fdset);
382
383 while (!fdset->sync)
384 pthread_cond_wait(&fdset->sync_cond, &fdset->sync_mutex);
385
386 pthread_mutex_unlock(&fdset->sync_mutex);
387}

Callers 1

vduse_device_destroyFunction · 0.85

Calls 3

pthread_mutex_lockFunction · 0.85
fdset_pipe_notifyFunction · 0.85
pthread_mutex_unlockFunction · 0.85

Tested by

no test coverage detected