mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
6244e502cc
* thread_win32.ci, thread_win32.h, thread_pthread.ci, thread_pthread.h: prepare native_cond_*() which are based on pthread_cond_*() spec. * prelude.rb: fix Mutex#synchronize method. * vm_core.h, include/ruby/intern.h: change unblock function interface (to pass some user data). * file.c, process.c: ditto. * benchmark/bm_vm2_mutex.rb: add a benchmark for mutex. * benchmark/bm_vm3_thread_mutex.rb: add a benchmark for mutex with contension. * benchmark/run.rb: fix to remove ENV['RUBYLIB'] for matzruby. * test/ruby/test_thread.rb: add a test. * common.mk: fix benchmark options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
524 B
C
19 lines
524 B
C
#define RUBY_VERSION "1.9.0"
|
|
#define RUBY_RELEASE_DATE "2007-08-28"
|
|
#define RUBY_VERSION_CODE 190
|
|
#define RUBY_RELEASE_CODE 20070828
|
|
#define RUBY_PATCHLEVEL 0
|
|
|
|
#define RUBY_VERSION_MAJOR 1
|
|
#define RUBY_VERSION_MINOR 9
|
|
#define RUBY_VERSION_TEENY 0
|
|
#define RUBY_RELEASE_YEAR 2007
|
|
#define RUBY_RELEASE_MONTH 8
|
|
#define RUBY_RELEASE_DAY 28
|
|
|
|
#ifdef RUBY_EXTERN
|
|
RUBY_EXTERN const char ruby_version[];
|
|
RUBY_EXTERN const char ruby_release_date[];
|
|
RUBY_EXTERN const char ruby_platform[];
|
|
RUBY_EXTERN const int ruby_patchlevel;
|
|
#endif
|