diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-19 04:17:04 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-19 04:17:04 +0000 |
commit | 248d589b554331ed1cee9dfc29f1d6f79bff9312 (patch) | |
tree | a54d147920587d95054837bcbba7c0de64806a2b /thread.c | |
parent | 61f830bf7d184d5ee6423c152d9be4454f1769fa (diff) |
* thread.c: add a description for the behavior of select(2) on
Mac OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2296,6 +2296,10 @@ rb_thread_priority_set(VALUE thread, VALUE prio) * - 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. |