MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / dbconsumer_get_int

Function dbconsumer_get_int

lua/sp.c:747–753  ·  view source on GitHub ↗

this call will block until queue item available

Source from the content-addressed store, hash-verified

745
746// this call will block until queue item available
747static int dbconsumer_get_int(Lua L, dbconsumer_t *q)
748{
749 int rc;
750 while ((rc = dbq_poll(L, q, dbq_delay_ms)) == 0)
751 ;
752 return rc;
753}
754
755static void dbconsumer_getargs(Lua L, dbconsumer_t *consumer)
756{

Callers 1

dbconsumer_getFunction · 0.85

Calls 1

dbq_pollFunction · 0.85

Tested by

no test coverage detected