Skip to content

Commit

Permalink
changed from Mutex to Monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Aug 10, 2008
1 parent 2d1ac84 commit 1d863e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
* Changed RDoc test task to have no default template. This makes it
easier for the tempate to pick up the template from the environment.

* Changed from using Mutex to Monitor. Evidently Mutex causes thread
join errors when Ruby is compiled with -disable-pthreads.

== Version 0.8.1

* Removed requires on parsedate.rb (in Ftptools)
Expand Down
4 changes: 2 additions & 2 deletions lib/rake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
require 'getoptlong'
require 'fileutils'
require 'singleton'
require 'thread'
require 'monitor'
require 'optparse'
require 'ostruct'

Expand Down Expand Up @@ -461,7 +461,7 @@ def initialize(task_name, app)
@already_invoked = false
@full_comment = nil
@comment = nil
@lock = Mutex.new
@lock = Monitor.new
@application = app
@scope = app.current_scope
@arg_names = nil
Expand Down

0 comments on commit 1d863e2

Please sign in to comment.