Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

higher

macrumors newbie
Original poster
Dec 1, 2008
11
0
Now I use another carbon exception handler funciton : InstallExceptionHandler .
it works fine in one thread.
But the new question is that : if i have two thread and they all use the InstallExceptionHandler function, one works fine and the other crash without catching the exceptions.

Can anybody give a suggestion? Thanks in advance.
 

higher

macrumors newbie
Original poster
Dec 1, 2008
11
0
blow is from apple :

Calls to InstallExceptionHandler only affecting cooperative threads that had already been created, however had no effect for any threads created after it was called (as it should have). InstallExceptionHandler has been modified so that it now applies to currently executing cooperative threads and all threads created after it has been called

can any one give me another function to catch exception in carbon
thanks in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.