--Kyle Sluder On Aug 15, 2009, at 8:08 AM, Rolando Abarca <funkas...@gmail.com> wrote:
The thing is that somehow, I'm not locking the ruby VM to do not allow it to be interrupted during it's execution, because apparently it is being interrupted and that's causing some really nasty (random) crashes. Is it possible to do it? I mean, to lock a portion of code to not be interrupted by signals during it's execution.
I don't understand how signals come into this.
Someone told me to not run the VM from within a signal handler, but how would I be able to do that?...
Simple. You don't. It's a lot harder to do something than to not do it. Unless you aren't talking about POSIX signal handlers.
--Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com