These functions schedule events to wake up the following poll_block() call. For instance, ovsdb-server should wake up next time we receive a JSON rpc message.
At the end of the loop, there is a poll_block() call that will sleep until there is further work to do. On 3 February 2014 00:04, love you <thunder.lov...@gmail.com> wrote: > Hi > > I have found following three functions get called in ovsdbserver.c. I > didn't get the purpose why server is waiting. Can anyone elaborate the > purpose for that > > ovsdb_jsonrpc_server_wait(jsonrpc); > unixctl_server_wait(unixctl); > ovsdb_trigger_wait(db, time_msec()); > > Regards > Neeraj > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss > >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss