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

16 commits

Author SHA1 Message Date
nobu
75c1cac7f3 * {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16 21:51:01 +00:00
nahi
69743fbd85 * lib/monitor.rb (MonitorMixin.mon_release): ensure the scheduled
thread to be alive when a thread is releasing a monitor. #2240


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-20 16:14:25 +00:00
nobu
378c35fc75 * lib/monitor.rb (ConditionVariable#wait, mon_enter, mon_exit_for_cond):
ensures Thread.critical to be false.  [ruby-talk:248300]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-19 05:52:49 +00:00
matz
cbc0ede661 * lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.
[ruby-core:08205]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 17:33:04 +00:00
nobu
f42208b70c * lib: do not use __send__ to access private methods. [ruby-dev:26935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-02 14:53:02 +00:00
nobu
6c30c6be3a * dln.c, io.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb, lib/date.rb,
lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb,
  lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb,
  lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb,
  lib/net/http.rb, lib/net/imap.rb, lib/net/telnet.rb,
  lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb,
  lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb,
  lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:20:33 +00:00
shugo
7072d8279d * lib/monitor.rb: use Object#__send__ instead of Object#send.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 04:25:10 +00:00
shugo
891fa76825 * lib/monitor.rb: refactored. Thanks, Gennady Bystritsky.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 01:15:59 +00:00
shugo
ea00e4e454 * lib/monitor.rb (wait): return true on signal/broadcastfalse and
false on timeout. Thanks Gennady Bystritsky.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-10 02:44:49 +00:00
shugo
d61ba0cec6 * lib/monitor.rb: revert to the previous revision.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 00:15:17 +00:00
shugo
764722dc27 * lib/monitor.rb: handle exceptions correctly. Thanks, Gennady
Bystritsky.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11 01:20:45 +00:00
gsinclair
99a3e3fdfa Added RDoc comments. Several issues exist: see comments at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-17 14:06:27 +00:00
shugo
619aa50e25 * lib/monitor.rb (wait): fix timeout support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-02 05:27:49 +00:00
shugo
8eeaf69e52 * lib/monitor.rb (wait): ensure reentrance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-02 04:59:43 +00:00
shugo
93868607a2 * lib/monitor.rb: fixed the example code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-06 09:03:59 +00:00
matz
65a5162550 1.4.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-08-13 05:45:20 +00:00