the hyperdex client loop question

21 views
Skip to first unread message

李俊良

unread,
May 24, 2016, 4:09:36 AM5/24/16
to hyperdex-discuss
    There is a question in client/client.cc, like this:
client :: loop(int timeout, hyperdex_client_returncode* status)
    In cycle, while m_pending_ops is not empty, the message from m_busybee.recv:
busybee_returncode rc = m_busybee.recv(&sid_num, &msg);

    If rc return BUSYBEE_EXTERNAL(current sid_num is 3), it always will cycle.

Robert Escriva

unread,
May 24, 2016, 11:48:51 AM5/24/16
to hyperdex...@googlegroups.com
It will always continue to the top of the loop, and then process events
from the external file descriptors until there are none. Then it will
cease to return BUSYBEE_EXTERNAL.
> --
> You received this message because you are subscribed to the Google Groups
> "hyperdex-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to hyperdex-discu...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages