diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-03-02 22:47:29 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-03-02 22:48:37 -0800 |
commit | 9881f136858ac8f3a77a6cea8ce15b1cdb4ad55a (patch) | |
tree | 780054a98fd15b9ab0ad85ece51d112bf3a44561 /ext/posix_mq/posix_mq.c | |
parent | 19668b0edc9b09cfd72247f7041390e0328032a0 (diff) | |
download | ruby_posix_mq-9881f136858ac8f3a77a6cea8ce15b1cdb4ad55a.tar.gz |
Diffstat (limited to 'ext/posix_mq/posix_mq.c')
-rw-r--r-- | ext/posix_mq/posix_mq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c index 6278852..dc23a8d 100644 --- a/ext/posix_mq/posix_mq.c +++ b/ext/posix_mq/posix_mq.c @@ -725,6 +725,10 @@ static void thread_notify_fd(union sigval sv) while ((write(fd, "", 1) < 0) && (errno == EINTR || errno == EAGAIN)); } +/* + * TODO: Under Linux, we could just use netlink directly + * the same way glibc does... + */ static void setup_notify_io(struct sigevent *not, VALUE io) { int fd = NUM2INT(rb_funcall(io, id_fileno, 0, 0)); |