• 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
Why would this block?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why would this block?


  • Subject: Why would this block?
  • From: Robert Nicholson <email@hidden>
  • Date: Tue, 5 Jun 2007 17:10:57 +0700

I have some multithreaded processing and the child threads communicate back to the calling thread using a machport.

but when it gets to machport's delegate this blocks

	NSArray *components = [portMessage components];

under what circumstances will this block?

gdb show this

(gdb) n
Timed out fetching data. Variable display may be inaccurate.


#0 0x0026e5b3 in -[DownloadURLs handlePortMessage:] at DownloadURLs.m: 119
#1 0x928409c0 in __NSFireMachPort
#2 0x9083c385 in __CFMachPortPerform
#3 0x9082c62d in CFRunLoopRunSpecific
#4 0x9082bace in CFRunLoopRunInMode
#5 0x92824d3a in -[NSRunLoop runMode:beforeDate:]
#6 0x0026e4cf in -[DownloadURLs runWithInput:fromAction:error:] at DownloadURLs.m:103
#7 0x95dce00a in -[AMAction run:]
#8 0x95dcdb0c in -[AMBundleAction doRun:]
#9 0x9280503b in __NSFireDelayedPerform
#10 0x9082c7e2 in CFRunLoopRunSpecific
#11 0x9082bace in CFRunLoopRunInMode
#12 0x92824d3a in -[NSRunLoop runMode:beforeDate:]
#13 0x928728e4 in -[NSRunLoop runUntilDate:]
#14 0x00010c0b in ??
#15 0x927ef2e0 in forkThreadForFunction




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Mac Disk burning API:s
  • Next by Date: Re: Spell service bundled in application (solved)
  • Previous by thread: Re: Mac Disk burning API:s
  • Next by thread: Re: Spell service bundled in application (solved)
  • Index(es):
    • Date
    • Thread