• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Loosing threads in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loosing threads in cocoa


  • Subject: Re: Loosing threads in cocoa
  • From: sinclair44 <email@hidden>
  • Date: Thu, 08 May 2003 20:20:31 -0400

On 5/8/03 7:02 AM, "Jean-Olivier Lancttt-D." <email@hidden>
wrote:

> BTW, watch out, don't use AppKit objects in another thread (do it in
> the main thread, or use DO).

I've always heard this but have never been told why you shouldn't. I've got
a worker thread in an app that simply calls [textField
setStringValue:@"DONE"]; right before terminating; is this bad?

Thanks.
--

-- sinclair44

[self becomeWorldDictator];

- (void)becomeWorldDictator
{
[self coverLegalButt];

[[GeorgeBush principalClass] assassinate:[world currentLeaders]];
[[BinLaden principalClass] terrorize:[world citizens]];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}

- (void)coverLegalButt
{
/* The above does not reflect any plans, expressed or implied, real or
imaginative, to kill or assassinate anyone, or to harm anyone in any shape,
way or form. Any relation to actual events is purely coincidental. */
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Loosing threads in cocoa
      • From: Shaun Wexler <email@hidden>
References: 
 >Re: Loosing threads in cocoa (From: "Jean-Olivier Lanctôt-D." <email@hidden>)

  • Prev by Date: NSPopUpButton weirdness
  • Next by Date: Setting the cursor when not active/frontmost app?
  • Previous by thread: Re: Loosing threads in cocoa
  • Next by thread: Re: Loosing threads in cocoa
  • Index(es):
    • Date
    • Thread