Hi All, I've been hunting a bug for almost a week now, and I think I got it narrowed enough now: I'm embedding a ruby interpreter in an app, and calling ruby code from within my app asynchronously. The app is only one thread, but it responds to events generated by the OS (click, timers, etc.) and some of these events trigger a ruby function. 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.
Someone told me to not run the VM from within a signal handler, but how would I be able to do that?... thanks a lot! -- Rolando Abarca http://rolando.cl _______________________________________________ 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