I am Sorry for email sent earlier pthread_mutex_lock returns error
code 2.
The above mentioned function pthread_mutex_lock returns error code
as 22.
Due to this an exception is thrown as Abort Trap .
If possible give suggestion or comments above function should work
properly.
You should ask questions like this on the appropriate list; this is
not a kernel related question, it is a pthreads programming issue; you
are using the API incorrectly.
Specifically, you aren't calling pthread_mutex_init() before trying to
use the mutex.
May I suggest this book?
PThreads Programming
A POSIX Standard for Better Multiprocessing
Bradford Nichols, Dick Buttlar, Jacqueline Proulx Farrell
ISBN: 1-56592-115-1
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden