Skip to content
Snippets Groups Projects
Commit cd200c65 authored by Nick Zavaritsky's avatar Nick Zavaritsky
Browse files

Fix gh-1083

parent 8f1b1534
No related branches found
No related tags found
No related merge requests found
...@@ -1727,13 +1727,27 @@ eio__statvfsat (int dirfd, const char *path, struct statvfs *buf) ...@@ -1727,13 +1727,27 @@ eio__statvfsat (int dirfd, const char *path, struct statvfs *buf)
/*****************************************************************************/ /*****************************************************************************/
static void
eio_want_poll(void *unused)
{
(void)unused;
eio_want_poll_cb();
}
static void
eio_done_poll(void *unused)
{
(void)unused;
eio_done_poll_cb();
}
int ecb_cold int ecb_cold
eio_init (void (*want_poll)(void), void (*done_poll)(void)) eio_init (void (*want_poll)(void), void (*done_poll)(void))
{ {
eio_want_poll_cb = want_poll; eio_want_poll_cb = want_poll;
eio_done_poll_cb = done_poll; eio_done_poll_cb = done_poll;
return etp_init (EIO_POOL, 0, 0, 0); return etp_init (EIO_POOL, 0, eio_want_poll, eio_done_poll);
} }
ecb_inline void ecb_inline void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment