about summary refs log tree commit homepage
path: root/ext/posix_mq/posix_mq.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-23 16:19:16 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-23 16:19:16 -0800
commit76e4b6e72d717b69843f4c43665bb0c55ac58eea (patch)
treecf74ff7174aeadac12ae33a69b03888028f932a5 /ext/posix_mq/posix_mq.c
parent28b863232bb1c96df9af9e35c5fffeec8d9b69c0 (diff)
downloadruby_posix_mq-76e4b6e72d717b69843f4c43665bb0c55ac58eea.tar.gz
Maybe people will just upgrade to newer systems eventually.
Diffstat (limited to 'ext/posix_mq/posix_mq.c')
-rw-r--r--ext/posix_mq/posix_mq.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c
index 3340b00..0d08698 100644
--- a/ext/posix_mq/posix_mq.c
+++ b/ext/posix_mq/posix_mq.c
@@ -510,6 +510,9 @@ static void setup_send_buffer(struct rw_args *x, VALUE buffer)
  * then Errno::ETIMEDOUT will be raised if the operation cannot complete
  * before +timeout+ seconds has elapsed.  Without +timeout+, this method
  * may block until the queue is writable.
+ *
+ * On some older systems, the +timeout+ argument is not currently
+ * supported and may raise NotImplementedError if +timeout+ is used.
  */
 static VALUE _send(int argc, VALUE *argv, VALUE self)
 {
@@ -604,6 +607,9 @@ static VALUE _receive(int wantarray, int argc, VALUE *argv, VALUE self);
  * or Integer specifying the timeout in seconds.  Errno::ETIMEDOUT
  * will be raised if +timeout+ has elapsed and there are no messages
  * in the queue.
+ *
+ * On some older systems, the +timeout+ argument is not currently
+ * supported and may raise NotImplementedError if +timeout+ is used.
  */
 static VALUE receive(int argc, VALUE *argv, VALUE self)
 {
@@ -624,6 +630,9 @@ static VALUE receive(int argc, VALUE *argv, VALUE self)
  * or Integer specifying the timeout in seconds.  Errno::ETIMEDOUT
  * will be raised if +timeout+ has elapsed and there are no messages
  * in the queue.
+ *
+ * On some older systems, the +timeout+ argument is not currently
+ * supported and may raise NotImplementedError if +timeout+ is used.
  */
 static VALUE shift(int argc, VALUE *argv, VALUE self)
 {