How do I use the runInNewThread method ?
How do I use the runInNewThread method ?
- Subject: How do I use the runInNewThread method ?
- From: Goran Granstrom <email@hidden>
- Date: Fri, 12 Oct 2001 11:18:14 +0300
I asked before how to run NSCOnnection in its own thread, I got the
answer to use [myConnection runInNewThread] but I don't know where I
should add that code. Should I add it when I init the NSConnection or
when I receive connections from the init-notification method. A nice
little code example would be great =)...please help, because
NSConnection freezes my app when it receive and send data so I really
need to get it to workin multithreaded mode.
/Gore