VFS: Allocate socket select semaphore outside ISR

This commit is contained in:
Roland Dobai
2019-04-01 12:50:54 +02:00
parent cc8652d8d2
commit 5988e77a3a
3 changed files with 21 additions and 0 deletions

View File

@@ -226,6 +226,8 @@ typedef struct
/** stop_socket_select which can be called from ISR; set only for the socket driver */
void (*stop_socket_select_isr)(BaseType_t *woken);
/** end_select is called to stop the I/O multiplexing and deinitialize the environment created by start_select for the given VFS */
void* (*get_socket_select_semaphore)();
/** get_socket_select_semaphore returns semaphore allocated in the socket driver; set only for the socket driver */
void (*end_select)();
} esp_vfs_t;