Re: Using Darwin headers
Re: Using Darwin headers
- Subject: Re: Using Darwin headers
- From: Vince DeMarco <email@hidden>
- Date: Sat, 22 Jun 2002 18:24:57 -0700
On Saturday, June 22, 2002, at 05:44 AM, Chris Purcell wrote:
Rats. Can you suggest the best way to code atomic operations in a user
space application?
pthreads
look at the code in /usr/include/pthreads.h
there are mutexes etc.. there
Or if this is a Cocoa application use NSLock.
vince
Kritter out
Does anyone know how to use Darwin headers in a Cocoa app?
Specifically, I want to use OSAtomicOperations.h functions, but
can't persuade the linker.
You can't use KERNEL headers in a USER SPACE application.
-- Finlay
_______________________________________________
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.
_______________________________________________
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.