• 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
PDO keeps stalling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDO keeps stalling


  • Subject: PDO keeps stalling
  • From: Charles Srstka <email@hidden>
  • Date: Fri, 14 Dec 2001 23:16:20 -0600

What's going on? I have a server object in a tool that is being run as root and which contains a bunch of methods that do one line of code, then return. If I make the methods return oneway void, everything works fine, except that I'd like to have my client process wait until the server's methods finish, and additionally, I would like to be able to return a BOOL telling if the method was successful or not. Unfortunately, when I don't use oneway, the thing just stalls there forever, as if the method never returned. I've checked, and it turns out the methods are actually successful in doing what they are supposed to do. They just aren't returning after they're done. I can replace one of these methods with a method that just returns without doing anything, and I get the same result. What's weird is that if I send a message to something in the client thread - for example, if I click the Cancel button - it gives it a kick, and it starts going again.

Anyone ever had anything like this happen, or am I just cursed?


  • Prev by Date: Re: Loading Frameworks
  • Next by Date: Re: Apple doc says opposite of truth. Doc bug ?
  • Previous by thread: Re: NeXTWORLD floppy disk, anyone?
  • Next by thread: Re: St00pid newbie question about sending URLs to the default Web browser
  • Index(es):
    • Date
    • Thread