diff options
author | Timo Teras <timo.teras@iki.fi> | 2010-03-10 13:58:39 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2010-03-10 13:58:39 +0200 |
commit | 5ef38570315dc68d7ddf8d9475d9a8830528e8a4 (patch) | |
tree | f88fc542b5231614ac6c22a75baea90d82449d6c /include/libtf/io.h | |
parent | 43e69b26126b8708b70680c6b4806eb3844386ab (diff) | |
download | libtf-5ef38570315dc68d7ddf8d9475d9a8830528e8a4.tar.bz2 libtf-5ef38570315dc68d7ddf8d9475d9a8830528e8a4.tar.xz |
libtf: separate scheduler fibre, change the core api
Diffstat (limited to 'include/libtf/io.h')
-rw-r--r-- | include/libtf/io.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/libtf/io.h b/include/libtf/io.h index 1f0b793..1f37d81 100644 --- a/include/libtf/io.h +++ b/include/libtf/io.h @@ -26,8 +26,6 @@ #define TF_FD_SET_CLOEXEC 4 #define TF_FD_ALREADY_NONBLOCKING 8 -struct tf_fiber; - struct tf_sockaddr { union { struct sockaddr addr; @@ -42,7 +40,7 @@ struct tf_fd { /* Single waiter -- would be relatively trivial to modify to allow * multiple waiters, if someone actually needs it */ unsigned int events; - struct tf_fiber *waiting_fiber; + void *waiting_fiber; }; void tf_poll_init(void); |