Ok! Added to TODO:
----------------------
Batch Remove Resources
----------------------
Abigail wanted a clean way to stop all alarms in a session that was
getting ready to go away. alarm_remove_all() would do this.
Peter J. Braam wanted a way to flush all pending events for a session.
This would be FIFO events, since there would already be a method for
alarms.
Kirill would like a way to batch-remove all selects when it's time for
a session to shut down.
-End-
There are no guarantees as to when these will be implemented, though.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
On Fri, Jun 01, 2001 at 10:09:14AM -0400, Kirill wrote:
> Some form of batch remove would certainly be useful. If the user
> wants to drop all pending requests, that's when the current
> one argument alarm comes in very handy. alarm_remove_by_event
> will probably be optimal in most cases.
>
> Incidentally, in that same situation I am also removing all
> select()ed sockets, and obviously right now it has to be done
> one by one. So I thought a similar interface for removing
> sockets would also help, although it's really not that important.
>
> Kirill