• 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: pthread stack management error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >pthread stack management error? (From: Jos Timanta Tarigan <email@hidden>)

  • Prev by Date: pthread stack management error?
  • Next by Date: Re: XCode 3.1 frequently hangs
  • Previous by thread: pthread stack management error?
  • Next by thread: how to stop virtual processors on MAC
  • Index(es):
    • Date
    • Thread