diff options
Diffstat (limited to 'nuttx/net/iob/iob.h')
-rw-r--r-- | nuttx/net/iob/iob.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/net/iob/iob.h b/nuttx/net/iob/iob.h index 0507fa34d..03ea6d14d 100644 --- a/nuttx/net/iob/iob.h +++ b/nuttx/net/iob/iob.h @@ -42,6 +42,8 @@ #include <nuttx/config.h> +#include <semaphore.h> + #include <nuttx/net/iob.h> /**************************************************************************** @@ -64,6 +66,11 @@ extern FAR struct iob_s *g_iob_freelist; extern FAR struct iob_qentry_s *g_iob_freeqlist; +/* Counting semaphores that tracks the number of free IOBs/qentries */ + +extern sem_t g_iob_sem; +extern sem_t g_qentry_sem; + /**************************************************************************** * Public Data ****************************************************************************/ |