diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-07 09:09:44 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-07 09:09:44 +0000 |
commit | 68a0d412dd36b0caf1551089d8e6c64819854b6f (patch) | |
tree | 83ed33725f27014646a5ca7f7b6cf98af20bb186 /cont.c | |
parent | 1a1c95404f8842b7327e76e945ef747554e37709 (diff) | |
download | ruby-68a0d412dd36b0caf1551089d8e6c64819854b6f.tar.gz |
add a comment why FreeBSD can't use MAP_STACK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -517,6 +517,10 @@ fiber_entry(void *arg) } #else /* _WIN32 */ +/* + * FreeBSD require a first (i.e. addr) argument of mmap(2) is not NULL + * if MAP_STACK is passed. + */ #if defined(MAP_STACK) && !defined(__FreeBSD__) #define FIBER_STACK_FLAGS (MAP_PRIVATE | MAP_ANON | MAP_STACK) #else |