akp has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
akp has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
jensnockert has joined #jruby
pawnbox has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
akp has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
akp has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #jruby
akp has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 244 seconds]
akp has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 268 seconds]
Aethenelle has joined #jruby
Aethenelle has quit [Client Quit]
pawnbox has joined #jruby
akp has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 260 seconds]
akp has joined #jruby
jensnockert has joined #jruby
pawnbox has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
pawnbox has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 244 seconds]
pawnbox_ has quit [Ping timeout: 260 seconds]
akp has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
akp has joined #jruby
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
akp_ has joined #jruby
akp has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
akp_ has quit [Read error: Connection reset by peer]
akp has joined #jruby
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
vali has joined #jruby
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
pitr-ch has joined #jruby
pitr-ch has quit [Client Quit]
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
jensnockert has joined #jruby
claudiuinberlin has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
akp has quit [Read error: Connection reset by peer]
claudiuinberlin has quit [Remote host closed the connection]
akp has joined #jruby
pawnbox has joined #jruby
akp_ has joined #jruby
akp has quit [Read error: Connection reset by peer]
akp_ has quit [Read error: Connection reset by peer]
pitr-ch has joined #jruby
akp has joined #jruby
jensnockert has joined #jruby
claudiuinberlin has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
akp has quit [Read error: Connection reset by peer]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akp has joined #jruby
akp has quit [Ping timeout: 268 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pitr-ch has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
pawnbox has quit [Remote host closed the connection]
vali has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
shellac has joined #jruby
donV has joined #jruby
shellac has quit [Read error: Connection reset by peer]
shellac has joined #jruby
vali has joined #jruby
vali has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
shellac has quit [Quit: Computer has gone to sleep.]
vali has joined #jruby
alex0ptr has joined #jruby
alex0ptr has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
vali has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #jruby
vali has joined #jruby
alex0ptr has joined #jruby
donV has quit [Quit: donV]
pawnbox has quit [Remote host closed the connection]
iconara has joined #jruby
shellac has joined #jruby
donV has joined #jruby
pawnbox has joined #jruby
<iconara>
does anyone know how to properly capture a Block argument to a native method and later use it from another thread?
<iconara>
I'm writing a native extension and I have problems with blocks getting mixed up when called from other threads, sometimes it doesn't work, sometimes a completely different block gets called
<iconara>
what I have is `public IRubyObject someMethod(ThreadContext ctx, IRubyObject[] args, Block block)`
FINbit has quit [Ping timeout: 248 seconds]
<iconara>
I've tried using the block as-is, that seems to call unrelated blocks, sometimes
<iconara>
I've tried `block.getProc()`, but that can return null even when there is a block, it seems
<iconara>
I've found that RubyHash does `runtime.newProc(Block.Type.PROC, block)`, but that also seems to call other random blocks
<iconara>
I've also found `runtime.newProc(Block.Type.PROC, block.cloneBlockAndFrame())`, but that doesn't seem to work at all
<iconara>
or isn't the problem the Block, but the ThreadContext?
shellac has quit [Quit: Computer has gone to sleep.]
<iconara>
the thread won't be a RubyThread, btw. it will be a Java thread
<iconara>
(it could be a RubyThread, but there's no guarantee)
donV has quit [Quit: donV]
akp has joined #jruby
<GitHub149>
[jruby] bjfish pushed 1 new commit to truffle-head: https://git.io/vPBRg
<GitHub149>
jruby/truffle-head 18b6b3c Brandon Fish: [Truffle] Add rdoc to stdlib
claudiuinberlin has quit [Remote host closed the connection]
akp has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
<GitHub191>
[jruby] chrisseaton pushed 8 new commits to truffle-head: https://git.io/vPB04
<GitHub191>
jruby/truffle-head 1099475 Chris Seaton: [Truffle] Implement object_with_value_property in the TCK.
<GitHub191>
jruby/truffle-head cd54918 Chris Seaton: [Truffle] Reading and writing value properties in the TCK.
<GitHub191>
jruby/truffle-head 6fd1d73 Chris Seaton: [Truffle] Implement object_with_element in the TCK.
akp has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
temporal_ has joined #jruby
temporalfox has quit [Ping timeout: 248 seconds]
akp has quit [Remote host closed the connection]
<GitHub30>
[jruby] chrisseaton pushed 1 new commit to truffle-head: https://git.io/vPBE6
<GitHub30>
jruby/truffle-head fc52ea4 Chris Seaton: [Truffle] Put getgroups into TrufflePosix, but still use the JDK implementation for now.
pawnbox has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
akp has quit [Ping timeout: 260 seconds]
iconara has joined #jruby
<GitHub53>
[jruby] chrisseaton pushed 1 new commit to master: https://git.io/vPBa5
<GitHub53>
jruby/master 7968ff6 Chris Seaton: [Truffle] Tag failing specs.
<GitHub167>
[jruby] chrisseaton created jnr-posix-getgroups (+1 new commit): https://git.io/vPBVi
<GitHub167>
jruby/jnr-posix-getgroups be0af01 Chris Seaton: [Truffle] Use the new getgroups POSIX call.
<GitHub85>
[jruby] chrisseaton opened pull request #4214: [Truffle] Use the new getgroups POSIX call. (master...jnr-posix-getgroups) https://git.io/vPBV7