ledestin (Dmitry Maksyoma)
- Login: ledestin
- Email: ledestin@gmail.com
- Registered on: 07/19/2014
- Last sign in: 07/19/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
07/19/2014
-
01:29 PM Ruby Bug #10076: 2nd thread can't get mutex even though 1st thread released it (race)
- Attaching source code with reproduced problem.
-
01:26 PM Ruby Bug #10076 (Closed): 2nd thread can't get mutex even though 1st thread released it (race)
- ~~~ruby
require 'thread'
m = Mutex.new
Thread.abort_on_exception = true
Thread.new {
loop {
m.synchronize {
puts 'got mutex in thread'
sleep 0.1
}
}
}
loop {
m.synchronize {
puts 'got mut...