• 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
Threads and locks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Threads and locks


  • Subject: Threads and locks
  • From: "Mark's Studio" <email@hidden>
  • Date: Thu, 1 Apr 2004 23:25:41 +0200

Im having trouble get multi threading to work (EXC_BAD_ACCESS in random
places )

i only use one NSLock is that enough, or do i need to have a seperate
lock for every object?

what should i do to make this thread safe
[array1 setArray:array2]
both arrays are NSMutableArray



Peter Mark

Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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: Threads and locks
      • From: Chris Hanson <email@hidden>
    • Re: Threads and locks
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: returning nil on initialization
  • Next by Date: Re: returning nil on initialization
  • Previous by thread: Re: returning nil on initialization
  • Next by thread: Re: Threads and locks
  • Index(es):
    • Date
    • Thread