Re: OTMP with an Async Notifier Model
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.