signals question
signals question
- Subject: signals question
- From: Rolando Abarca <email@hidden>
- Date: Sat, 15 Aug 2009 11:08:44 -0400
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 (email@hidden)
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:
This email sent to email@hidden