• 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: OTMP with an Async Notifier Model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OTMP with an Async Notifier Model


  • Subject: Re: OTMP with an Async Notifier Model
  • From: Bob Cook <email@hidden>
  • Date: Mon, 9 Feb 2004 08:37:51 -0800

Hi,

I'd suggest to look closely at how you pass data from your notifier up to your higher software layers, you might be running into a threading issue.

Recently another guy at work had the same problems with his networking code crashing on dual CPU machines. His project is using PowerPlant's networking code, which uses a notifier internally. After we did a bit of diagnostics and experimenting, the problem turned out to be the implementation of LInterruptSafeList, it uses Enqueue() which did not appear to be thread-safe across multiple CPUs. Weird, but we just worked around it and continued on.

Not sure if this helps at all, but thought I'd pass on knowledge gained the hard way. :^)

Bob Cook

On 9-Feb-04, at 7:18 AM, Francois Cournoyer wrote:

We have a situation here where our server application randomly crashes on a Dual Processor environment in OSX (doesn't crash if we disable 1 CPU) and we thought to convert to OTMPX.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: OTMP with an Async Notifier Model
      • From: Quinn <email@hidden>
References: 
 >OTMP with an Async Notifier Model (From: "Francois Cournoyer" <email@hidden>)

  • Prev by Date: OTMP with an Async Notifier Model
  • Next by Date: URLManager progress window
  • Previous by thread: OTMP with an Async Notifier Model
  • Next by thread: Re: OTMP with an Async Notifier Model
  • Index(es):
    • Date
    • Thread