http://defect.opensolaris.org/bz/show_bug.cgi?id=12885
amaguire <alan.maguire at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ACCEPTED |CAUSEKNOWN
--- Comment #2 from amaguire <alan.maguire at sun.com> 2009-11-30 13:40:02 UTC
---
An examination of the code suggests that the simplest (and least intrusive) way
to accomplish this is for nwamd_object_set_state() to enqueue the created state
event at the head rather than the end of the event queue, ensuring that it is
processed immediately by the event handling thread. This allows us to handle
actions by enqueueing state events that happen immediately.
The alternative would be to simply process the state event in the context in
which it is generated (i.e. in the context in which nwamd_object_set_state() is
called). There are complications with this, since we sometimes call state
change events without the object lock and in different thread contexts. I think
enqueueing state events immediately is the safer approach.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.