summaryrefslogtreecommitdiffstats
path: root/ext/thread
Commit message (Collapse)AuthorAgeFilesLines
* * intern.h, ext/thread/thread.c: moved prototype of rb_thread_status()nobu2007-06-181-0/+2
| | | | | | | to get rid of error in C++. [ruby-list:43615] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@12567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, intern.h, ext/thread/thread.c: should not free queueshyouhei2007-06-071-32/+66
| | | | | | | | while any live threads are waiting. [ruby-dev:30653] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@12469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge -c 12113shyouhei2007-05-221-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@12306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * merge -r 12066:12069shyouhei2007-03-161-12/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@12077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/thread/thread.c (push_list): Use ALLOC().knu2007-03-031-4/+4
| | | | | | | | | * ext/thread/thread.c (rb_mutex_alloc): Ditto. * ext/thread/thread.c (rb_condvar_alloc): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge changes between r11871 and r11907 from ruby_1_8.knu2007-02-271-36/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/thread/thread.c: Handle interrupted waits correctly.knu2007-02-151-19/+58
| | | | | | | [ruby-bugs:PR#8663] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, ext/thread/extconf.rb, lib/thread.rb: Add aknu2007-02-101-0/+2
| | | | | | | | | 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
* * ext/thread/lib/thread.rb: Add a replacement of thread.rb thatknu2007-02-101-0/+5
| | | | | | | loads this extension. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/thread/thread.c (rb_thread_exclusive): Implementknu2007-02-101-0/+34
| | | | | | | Thread.exclusive. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/thread/thread.c: Get rid of use of a dummy function.knu2007-02-101-11/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/thread/thread.c (Init_thread): Define missing aliases:knu2007-02-101-0/+2
| | | | | | | Queue#enq and SizedQueue#enq. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/thread: Make style fixes (mostly de-K&R'ism) to match theknu2007-02-092-696/+507
| | | | | | | | | rest of the source code. * ext/thread: Make USE_MEM_POOLS an extconf option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Oops, this is the original form. I committed the wrong file.knu2007-02-091-5/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/thread: Import the "fastthread" implementation by MenTaLguYknu2007-02-092-0/+1304
in the original form. This module is not hooked into the build yet since it needs some style fixes and adjustments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e