Search
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Jump to a project...
All Projects
Ruby Issue Tracking System
kirillrdy (Kirill Radzikhovskyy)
Login: kirillrdy
Email:
kirillrdy@gmail.com
Registered on: 08/01/2011
Last sign in: 01/20/2017
Issues
open
closed
Total
Assigned issues
0
0
0
Reported issues
0
1
1
Activity
05/20/2016
06:13 AM
Ruby
Bug #12405 (Closed): Queue doesn't work inside of trap
when adding things to the queue inside that trap blocking pop never unblocks
```
q = Queue.new
Signal.trap 'INT' do
puts "got INT"
q << 'something'
end
Thread.new {
loop {
sleep 1
Process.kill :INT, $$
}
}...
kirillrdy (Kirill Radzikhovskyy)
08/01/2011
01:37 PM
Ruby
Feature #5120: String#split needs to be logical
Hi,
I also find this behavior confusing
mainly because:
ruby-1.9.2-p290 :001 > 'a,b,,'.split ','
=> ["a", "b"]
ruby-1.9.2-p290 :002 > ',,a,b'.split ','
=> ["", "", "a", "b"]
kirillrdy (Kirill Radzikhovskyy)
Also available in:
Atom
Loading...