Re: pthread stack management error?
Re: pthread stack management error?
- Subject: Re: pthread stack management error?
- From: Peter O'Gorman <email@hidden>
- Date: Tue, 05 May 2009 13:40:56 -0500
Jos Timanta Tarigan wrote:
> hi,
>
> im currently trying to learn pthread. so i do the tutorials on this site:
> https://computing.llnl.gov/tutorials/pthreads/
>
> its unix based so my thought is its mac-friendly :)
>
> i got stuck in stack management where i supposed to be able to change the stack size for each thread. it brings me this error:
>
> Program received signal: “SIGSTOP”.
> (gdb) continue
> Program received signal: “EXC_BAD_ACCESS”.
> (gdb) continue
>
They don't check the return code for pthread_attr_setstacksize. Check
it, it is probably returning EINVAL.
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden