• 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: Singleton instances and multithreading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Singleton instances and multithreading


  • Subject: Re: Singleton instances and multithreading
  • From: "Axel 'Mikesch' Katerbau" <email@hidden>
  • Date: Thu, 12 Jul 2001 09:02:02 +0200

Hi Rob

Is that the right thing to do?

no. This code creates a new lock for every method call. So you can never block a method call.

Greetings,
Axel


References: 
 >Re: Singleton instances and multithreading (From: Rob Rix <email@hidden>)

  • Prev by Date: Re: Cocoa undo considerations
  • Next by Date: Status of @"" strings
  • Previous by thread: Re: Singleton instances and multithreading
  • Next by thread: Re: Singleton instances and multithreading
  • Index(es):
    • Date
    • Thread