NSTimer and NSLock

2008-07-13 Thread Lorenzo
Hi, I need to execute a method only after a thread has been executed. I guess I have to lock that thread but I don't know how. The thread I should lock comes from a timer timer = [[NSTimer scheduledTimerWithTimeInterval:timeInterval target:self

Re: NSTimer and NSLock

2008-07-13 Thread Michael Ash
On Sun, Jul 13, 2008 at 6:13 AM, Lorenzo [EMAIL PROTECTED] wrote: Hi, I need to execute a method only after a thread has been executed. I guess I have to lock that thread but I don't know how. The thread I should lock comes from a timer Timers have nothing to do with threads. All code in a