eloop: Add eloop_sock_requeue()
This function can be used to re-build eloop socket tables after forking for eloop implementations that need this. Signed-off-by: Roy Marples <roy@marples.name>
This commit is contained in:
parent
70f4f052f1
commit
2e69bdd16a
8 changed files with 35 additions and 7 deletions
|
@ -525,6 +525,12 @@ static void eloop_sock_table_dispatch(struct epoll_event *events, int nfds)
|
|||
#endif /* CONFIG_ELOOP_EPOLL */
|
||||
|
||||
|
||||
int eloop_sock_requeue(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static void eloop_sock_table_destroy(struct eloop_sock_table *table)
|
||||
{
|
||||
if (table) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue