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

Re: Threads and locks


  • Subject: Re: Threads and locks
  • From: "Mark's Studio" <email@hidden>
  • Date: Fri, 2 Apr 2004 20:05:03 +0200

Thanks for your reply's

@synchronized() works very well.


in the init of a object generated in a thread i had

data = [[NSMutableData alloc] initWithCapacity:2048];

and i got lot of random crashes, i have now changed it to

data = [[NSMutableData alloc] init];

and everything seems fine?????


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.


References: 
 >Threads and locks (From: "Mark's Studio" <email@hidden>)
 >Re: Threads and locks (From: Chris Hanson <email@hidden>)
 >Re: Threads and locks (From: Alastair Houghton <email@hidden>)

  • Prev by Date: indexed accessors and NSArrayControllers
  • Next by Date: Re: Full screen borderless window
  • Previous by thread: Re: Threads and locks
  • Next by thread: [ANN] F-Script 1.2.6 Released – Open-source interactive and scripting layer for Cocoa
  • Index(es):
    • Date
    • Thread