about summary refs log tree commit homepage
path: root/ext/posix_mq/posix_mq.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix_mq/posix_mq.c')
-rw-r--r--ext/posix_mq/posix_mq.c4
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));