FROM : Cameron Hayne
DATE : Wed Apr 06 02:17:32 2005
On 11/16/04 2:30 AM, "Greg Parker" <<email_removed>> wrote:
> This sample program calls Objective-C methods from inside a signal
> handler. Don't do that. If you do, your program may hang or crash
> unpredictably.
I revised my sample program "TestSignals" so that it just sets a global
variable and then later reads that variable periodically via a method called
from an NSTimer.
http://hayne.net/MacDev/TestSignals/
--
Cameron Hayne (<email_removed>)
Hayne of Tintagel
DATE : Wed Apr 06 02:17:32 2005
On 11/16/04 2:30 AM, "Greg Parker" <<email_removed>> wrote:
> This sample program calls Objective-C methods from inside a signal
> handler. Don't do that. If you do, your program may hang or crash
> unpredictably.
I revised my sample program "TestSignals" so that it just sets a global
variable and then later reads that variable periodically via a method called
from an NSTimer.
http://hayne.net/MacDev/TestSignals/
--
Cameron Hayne (<email_removed>)
Hayne of Tintagel
| Related mails | Author | Date |
|---|---|---|
| John Clayton | Nov 14, 23:48 | |
| John Clayton | Nov 16, 00:46 | |
| Frank Midgley | Nov 16, 01:24 | |
| Cameron Hayne | Nov 16, 02:19 | |
| John Clayton | Nov 16, 03:55 | |
| Greg Parker | Nov 16, 08:30 | |
| John Clayton | Nov 16, 15:47 | |
| Cameron Hayne | Apr 6, 02:17 | |
| Dan Saul | Apr 6, 03:11 |






Cocoa mail archive

