mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
* cont.c: revert FIBER_USE_NATIVE feature.
i.e. r27635, r27643, r27646, r27682, r27701 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dad3ce7a73
commit
291ed75cbe
4 changed files with 23 additions and 336 deletions
|
@ -185,6 +185,14 @@ native_thread_destroy(rb_thread_t *th)
|
|||
|
||||
#define USE_THREAD_CACHE 0
|
||||
|
||||
#if STACK_GROW_DIRECTION
|
||||
#define STACK_GROW_DIR_DETECTION
|
||||
#define STACK_DIR_UPPER(a,b) STACK_UPPER(0, a, b)
|
||||
#else
|
||||
#define STACK_GROW_DIR_DETECTION VALUE stack_grow_dir_detection
|
||||
#define STACK_DIR_UPPER(a,b) STACK_UPPER(&stack_grow_dir_detection, a, b)
|
||||
#endif
|
||||
|
||||
#if defined HAVE_PTHREAD_GETATTR_NP || defined HAVE_PTHREAD_ATTR_GET_NP
|
||||
#define STACKADDR_AVAILABLE 1
|
||||
#elif defined HAVE_PTHREAD_GET_STACKADDR_NP && defined HAVE_PTHREAD_GET_STACKSIZE_NP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue