1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

12 commits

Author SHA1 Message Date
ocean
162338d755 * lib/generator.rb: (Generator#initialize): should kill @loop_thread
before starting new thread. (occurs when called via Generator#rewind)
  [ruby-dev:28184]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31 02:56:46 +00:00
ocean
eaa1cca601 Sorry again, incorrent exception propagation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 10:17:39 +00:00
ocean
c0c75769b6 Sorry, reverted. Mutex is damn slow.....
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 09:57:49 +00:00
ocean
2c1706fffb * lib/generator.rb: uses Mutex instead of Thread.critical.
[ruby-dev:28184]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 09:29:07 +00:00
ocean
e052495637 * lib/generator.rb: (Generator#initialize) ensured to stop @loop_thread.
Mr. Tanaka pointed out one Thread.pass is not enough. [ruby-dev:28185]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 06:23:25 +00:00
ocean
5f82802aec * lib/generator.rb: (Generator#initialize) fixed dead lock. this occured
when end? was called before @loop_thread was stopped. [ruby-core:7029]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 03:24:18 +00:00
ocean
0cb24bf1b9 * lib/generator.rb: should work with another thread. (more robust code)
[ruby-dev:28177]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 16:08:44 +00:00
ocean
b29384860c * lib/generator.rb: reimplemented Generator class with Thread instead of
callcc, in order to fix memory leak. [ruby-dev:28142]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 02:29:26 +00:00
matz
919f456de8 * exception message clean-up by Ian Macdonald <ian@caliban.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 07:54:38 +00:00
gsinclair
0dea051ea1 * lib/generator.rb: corrected doc format
* lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
 * lib/rinda/tuplespace.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 13:24:07 +00:00
knu
a7ddb2e342 * lib/generator.rb: Add rdoc documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-17 14:01:26 +00:00
knu
3982f82b03 * lib/generator.rb: A new library which converts an internal
iterator to an external iterator.

* lib/abbrev.rb: A new library which creates an abbreviation table
  from a list.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14 20:14:20 +00:00