mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
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:
committed by
Christian Decker
parent
d967c2ba64
commit
a436fa77fc
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user