diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-10 15:58:07 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-10 15:58:07 +0000 |
| commit | d2bd498efcb41d810599fdb44dcfb62dadec4c85 (patch) | |
| tree | 6c962674e1b0e35906e737ab9ea093f14b34b746 | |
| parent | ef99f9054240b46022c616e5d5ad1f3890af38a8 (diff) | |
| download | ruby-d2bd498efcb41d810599fdb44dcfb62dadec4c85.tar.gz ruby-d2bd498efcb41d810599fdb44dcfb62dadec4c85.tar.xz ruby-d2bd498efcb41d810599fdb44dcfb62dadec4c85.zip | |
* thread.c (thread_create_core): fix GC problem.
[ruby-core:17669]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | thread.c | 4 | ||||
| -rw-r--r-- | version.h | 6 |
3 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Fri Jul 11 00:56:46 2008 Koichi Sasada <ko1@atdot.net> + + * thread.c (thread_create_core): fix GC problem. + [ruby-core:17669] + Thu Jul 10 22:06:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/pstore.rb (PStore#transaction): return the result from the @@ -440,9 +440,9 @@ thread_create_core(VALUE thval, VALUE args, VALUE (*fn)(ANYARGS)) GetThreadPtr(thval, th); /* setup thread environment */ - th->first_args = args; - th->first_proc = fn ? Qfalse : rb_block_proc(); th->first_func = fn; + th->first_proc = fn ? Qfalse : rb_block_proc(); + th->first_args = args; /* GC: shouldn't put before above line */ th->priority = GET_THREAD()->priority; th->thgroup = GET_THREAD()->thgroup; @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2008-07-10" +#define RUBY_RELEASE_DATE "2008-07-11" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20080710 +#define RUBY_RELEASE_CODE 20080711 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 10 +#define RUBY_RELEASE_DAY 11 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; |
