http://defect.opensolaris.org/bz/show_bug.cgi?id=11784
Renee Danson Sommerfeld <renee.danson at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |renee.danson at sun.com
--- Comment #8 from Renee Danson Sommerfeld <renee.danson at sun.com>
2009-10-07 15:18:28 UTC ---
> So I think what you're saying is that it's safe to do nothing if it's the case
> that we're enqueuing a timed event and the next event on the pending event
> queue is due now (since we've already set a SIGALARM for it). We'd do
> something
> like:
>
> /*
> * If we need to set a SIGALARM for the next pending event, set it now.
> */
> nextalarm = e->event_time - now;
> if (nextalarm > 0)
> (void) alarm(nextalarm)
>
> Is that right?
This makes sense; but we need to be sure we don't lose that next pending event.
How does it get handled if we don't schedule another alarm? We will pull it
off and process it (enqueue it on the event queue?) right here?
--
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.