[前][次][番号順一覧][スレッド一覧]

ruby-changes:20956

From: mrkn <ko1@a...>
Date: Fri, 19 Aug 2011 13:17:33 +0900 (JST)
Subject: [ruby-changes:20956] mrkn:r33005 (trunk): * thread.c: add a description for the behavior of select(2) on

mrkn	2011-08-19 13:17:04 +0900 (Fri, 19 Aug 2011)

  New Revision: 33005

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33005

  Log:
    * thread.c: add a description for the behavior of select(2) on
      Mac OS X 10.7 (Lion).

  Modified files:
    trunk/ChangeLog
    trunk/thread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33004)
+++ ChangeLog	(revision 33005)
@@ -1,3 +1,8 @@
+Fri Aug 19 13:14:00 2011  Kenta Murata  <mrkn@m...>
+
+	* thread.c: add a description for the behavior of select(2) on
+	  Mac OS X 10.7 (Lion).
+
 Fri Aug 19 11:28:58 2011  Shugo Maeda  <shugo@r...>
 
 	* lib/net/imap.rb (msg_att): accepts extra space before ')'.
Index: thread.c
===================================================================
--- thread.c	(revision 33004)
+++ thread.c	(revision 33005)
@@ -2296,6 +2296,10 @@
  * - HP-UX documents how to allocate fd_set dynamically.
  *   http://docs.hp.com/en/B2355-60105/select.2.html
  * - Solaris 8 has select_large_fdset
+ * - Mac OS X 10.7 (Lion)
+ *   select(2) returns EINVAL if nfds is greater than FD_SET_SIZE and
+ *   _DARWIN_UNLIMITED_SELECT (or _DARWIN_C_SOURCE) isn't defined.
+ *   http://developer.apple.com/library/mac/#releasenotes/Darwin/SymbolVariantsRelNotes/_index.html
  *
  * When fd_set is not big enough to hold big file descriptors,
  * it should be allocated dynamically.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]