Files
libiscsi/lib
Peter Lieven a3e5c4d3c5 socket: allow iscsi_which_events to return 0
this is meant as a hint that there can be no event at the moment
and in this special case iscsi_service will return immediately.
We use this at the moment in the case of a wait for a reconnect
in which case we would enter a busy loop waiting for that
reconnect. The 0 means do not poll for the client application.
Do not poll, just wait a little (a few hundred ms) and call iscsi_which_events
again. The wait should be timer driven or at least non busy looping,
of course.

Signed-off-by: Peter Lieven <pl@kamp.de>
2015-04-02 08:34:52 +02:00
..
2015-03-31 16:21:00 +02:00
2015-03-31 16:21:00 +02:00
2015-03-31 16:33:36 +02:00
2015-03-31 16:33:36 +02:00
2014-12-21 14:58:46 -08:00
2013-05-03 12:50:58 +02:00
2015-03-31 16:21:00 +02:00
2015-03-31 16:21:00 +02:00
2015-03-31 16:33:36 +02:00