[ovs-discuss] Purpose for wait ?
Joe Stringer
joestringer at nicira.com
Mon Feb 3 16:52:01 UTC 2014
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.love07 at 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 at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140203/4d01d53a/attachment.html>
More information about the discuss
mailing list