RE: OTMP with an Async Notifier Model
RE: OTMP with an Async Notifier Model
- Subject: RE: OTMP with an Async Notifier Model
- From: "Francois Cournoyer" <email@hidden>
- Date: Mon, 9 Feb 2004 12:17:41 -0500
- Thread-topic: OTMP with an Async Notifier Model
Do you know if there's any ways to force the use of a single processor instead of 2 for an application?
as our code works fine on single processors. Thought I doubt there's really a way to do it.
>
-----Original Message-----
>
From: Bob Cook [mailto:email@hidden]
>
Sent: February 9, 2004 11:38 AM
>
To: Open
>
Subject: Re: OTMP with an Async Notifier Model
>
>
>
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.
_______________________________________________
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.