MCPcopy Create free account
hub / github.com/ElementsProject/lightning / do_enqueue

Function do_enqueue

common/msg_queue.c:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static void do_enqueue(struct msg_queue *q, const u8 *add TAKES)
21{
22 tal_arr_expand(&q->q, tal_dup_talarr(q, u8, add));
23
24 /* In case someone is waiting */
25 io_wake(q);
26}
27
28size_t msg_queue_length(const struct msg_queue *q)
29{

Callers 2

msg_enqueueFunction · 0.85
msg_enqueue_fdFunction · 0.85

Calls 1

io_wakeFunction · 0.85

Tested by

no test coverage detected