[Linux-ha-dev] default blocking/nonblocking behavior for send() in
gshi at ncsa.uiuc.edu
Thu Dec 9 16:00:01 MST 2004
The default behavior for send function in IPC --socket_send() in ipcsocket.c --now is blocking.
According to alan, what he had in mind is the default should be non-blocking.
If we change the behavior to non-blocking,
some of subsystems/ha plugin in evms who are expecting blocking behavior will be affected. We can either set
the channel to blocking after we creates it or handler non-blocking accordingly.
I would like to know what other subsystems are affected. Also since I prefer to the default
to be blocking (a). tcp does that (b) it will not break current subsystems/ha plugin in evms),
so I would love comments on that too :)
More information about the Linux-HA-Dev