• 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
What does this mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What does this mean?


  • Subject: What does this mean?
  • From: John Draper <email@hidden>
  • Date: Sun, 01 May 2005 23:10:32 -0700

Based on the earlier problem I submitted, where I mentioned the source level
debugger indicated I had 3 threads.... thread 1, 2 and 5.


However,  in gdb console - I get....

Program received signal:  "EXC_BAD_ACCESS".
[Switching to process 3753 thread 0xca1f]
[Switching to process 3753 thread 0xca1f]
(gdb) info thread
Thread 0xca1f (local 0x179f) has current state "WAITING"
Thread 0xca1f has a suspend count of 0.
(gdb)

In the 'info thread' display you see above, it only shows 2 threads and not 3.
WHY is that? Why would the source level debugger show 3 and the gdb only
show 2.


Also what do they mean by:

  current state "WAITING"   - what is "WAITING",  the sub thread?   or the
  main event loop thread?

and

  suspend count of 0   - what do they mean by suspend count?

I search for these words in the ADC site, they only talk about them, but don't
explain it.... Can someone explain this to me please?


John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: What does this mean?
      • From: Henry Maddocks <email@hidden>
  • Prev by Date: Re: Notifications
  • Next by Date: to NSTask or not to NSTask
  • Previous by thread: auto completion feature in custom tableview
  • Next by thread: Re: What does this mean?
  • Index(es):
    • Date
    • Thread