http://defect.opensolaris.org/bz/show_bug.cgi?id=10683


amaguire <alan.maguire at sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ACCEPTED
                 CC|                            |alan.maguire at sun.com


--- Comment #3 from amaguire <alan.maguire at sun.com> 2009-08-16 16:04:31 UTC 
---
(In reply to comment #2)
> Created an attachment (id=2431) [details]
> "nwamadm disable bge1 ; nwamadm enable bge1" log

At certain points such as enable and disable, I think we need a way of saying
"flush any events pending for this object". We've already got a queue lookahead
mechanism that takes a similar argument set, so an interface like the following
would probably do it:

void nwamd_event_flush(int32_t event_type, nwamd_object_type_t object_type,
const char *object);

...which would flush all events of the event type for the object type (and
object name if specified). This flush mechanism would be useful on shutdown
too, just in case any pending events we don't want to deal with are in the
event queue.

We could call the flush from nwamd_[ncu|enm|loc]_action for disable/enable
actions.

-- 
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.
You are the assignee for the bug.

Reply via email to