![]() |
SolarCapture C Bindings
|
sc_mailbox: A means to pass packets from one thread to another. More...
Go to the source code of this file.
Functions | |
| int | sc_mailbox_alloc (struct sc_mailbox **mb_out, const struct sc_attr *attr, struct sc_thread *thread) |
| Allocate a mailbox. More... | |
| int | sc_mailbox_connect (struct sc_mailbox *mb1, struct sc_mailbox *mb2) |
| Connect a pair of mailboxes. More... | |
| int | sc_mailbox_set_recv (struct sc_mailbox *mailbox, struct sc_node *node, const char *name_opt) |
| Connect a mailbox to a node. More... | |
| struct sc_node * | sc_mailbox_get_send_node (struct sc_mailbox *mailbox) |
| Return a mailbox's "send node". More... | |
| int | sc_mailbox_poll (struct sc_mailbox *mailbox, struct sc_packet_list *list) |
| Poll a mailbox. More... | |
| void | sc_mailbox_send (struct sc_mailbox *mailbox, struct sc_packet *packet) |
| Send a packet through a mailbox to another thread. More... | |
| void | sc_mailbox_send_list (struct sc_mailbox *mailbox, struct sc_packet_list *list) |
| Send a list of packets through a mailbox to another thread. More... | |
sc_mailbox: A means to pass packets from one thread to another.
1.8.6