lightningd/msg_queue: add msg_wake helper.

A cleaner wrapper than a raw io_wake.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-04-12 09:10:10 -07:00
committed by Christian Decker
parent d967c2ba64
commit a436fa77fc
3 changed files with 12 additions and 4 deletions

View File

@@ -57,3 +57,8 @@ int msg_extract_fd(const u8 *msg)
return fromwire_u32(&p, &len);
}
void msg_wake(const struct msg_queue *q)
{
io_wake(q);
}