diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 21:41:26 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 21:41:26 +0000 |
| commit | a9cb5734bb8d3697e454bce3426763c7afeee80f (patch) | |
| tree | 850a447972a24dbc0fb468f5466342a26a93d486 /ext | |
| parent | 36d512afb399c4cda2a891f7ace35916e418481f (diff) | |
| download | ruby-a9cb5734bb8d3697e454bce3426763c7afeee80f.tar.gz ruby-a9cb5734bb8d3697e454bce3426763c7afeee80f.tar.xz ruby-a9cb5734bb8d3697e454bce3426763c7afeee80f.zip | |
* configure.in, ext/thread/extconf.rb, lib/thread.rb: Add a
configure option `--disable-fastthread', to choose the original,
pure ruby version of the "thread" library instead of the new,
much faster implementation in ext/thread.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/thread/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/thread/extconf.rb b/ext/thread/extconf.rb index efe1d5dbe..2f984efc6 100644 --- a/ext/thread/extconf.rb +++ b/ext/thread/extconf.rb @@ -1,5 +1,7 @@ require 'mkmf' +enable_config('fastthread', true) or exit + if with_config('mem-pools', true) $CPPFLAGS << ' -DUSE_MEM_POOLS' end |
