subbu has joined #jruby
<byteit101[m]> should it always attempt to load a local binary gem, or only if you require it?
<byteit101[m]> ie: autoload system, manually load local?
<byteit101[m]> hmmm... libfixposix won't let us directly support rlimits like Process.spawn
<byteit101[m]> nor umask
<byteit101[m]> There's no way to do a whole-JVM synchronous block, right?
subbu has quit [Quit: Leaving]
<headius> Sync on Object.class or some other core class is one way but if other libs do that you contend
<headius> There might be a newer blessed way I don't know about
<headius> As for the loading I'm not sure. You are thinking autoload when the library exists on the system so we have better spawn support out of the box, but if it is not present load from the binary gem... I suppose we could try to activate the gem automatically but it would be another library to load on boot
<byteit101[m]> the locking question was about a non-cloexec solution. Lock the jvm from doing any more io, list /proc/$$/fd/* and close those not listed, exec, unlock jvm
<headius> No way I know of to accomplish that unfortunately
<headius> /proc is a good thought but portability is obviously a concern
<headius> I don't know how much a concern it is that we don't close things since the JVM opens things CLOEXEC and so do we by default. The concern would be for applications that explicitly disable CLOEXEC and then want those others closed
<headius> I believe close_others predates CRuby doing CLOEXEC by default also
<byteit101[m]> Yea, that's why I was just going to lean on cloexec
<byteit101[m]> hence why I said "not really an issue" in the ticket
<headius> No worries
razetime has joined #jruby
subbu has joined #jruby
razetime has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
subbu has quit [Quit: Leaving]