From 7b5e23bd32a1e23a7d62cdf8f75a8512fb523fc5 Mon Sep 17 00:00:00 2001
From: Gregory Nutt
Function Prototype:
Function Prototype:
+#include <nuttx/wqueue.h>
int work_cancel(int qid, FAR struct work_s *work);
Function Prototype:
+#include <nuttx/wqueue.h>
int work_signal(int qid);
Function Prototype:
+#include <nuttx/wqueue.h>
int work_queue(int qid, FAR struct work_s *work, worker_t worker,
FAR void *arg, uint32_t delay);
@@ -3156,6 +3157,7 @@ int work_queue(int qid, FAR struct work_s *work, worker_t worker,
4.4.2.3.2
work_cancel()
@@ -3197,6 +3199,7 @@ int work_cancel(int qid, FAR struct work_s *work);
4.4.2.3.3
work_signal()
@@ -3228,6 +3231,7 @@ int work_signal(int qid);
+#include <nuttx/wqueue.h>
bool work_available(FAR struct work_s *work);
Function Prototype:
+#include <nuttx/config.h> +#include <nuttx/wqueue.h> #if defined(CONFIG_LIB_USRWORK) && !defined(__KERNEL__) int work_usrstart(void); #endif @@ -3283,6 +3289,8 @@ int work_usrstart(void);Function Prototype:
+#include <nuttx/config.h> +#include <nuttx/wqueue.h> #if defined(CONFIG_SCHED_LPWORK) && defined(CONFIG_PRIORITY_INHERITANCE) void lpwork_boostpriority(uint8_t reqprio); #endif @@ -3311,6 +3319,8 @@ void lpwork_boostpriority(uint8_t reqprio);Function Prototype:
+#include <nuttx/config.h>
+#include <nuttx/wqueue.h>
#if defined(CONFIG_SCHED_LPWORK) && defined(CONFIG_PRIORITY_INHERITANCE)
void lpwork_restorepriority(uint8_t reqprio);
#endif
@@ -3395,7 +3405,7 @@ void lpwork_restorepriority(uint8_t reqprio);
Tasking Support.
Other interfaces must be provided to support higher-level interfaces used by the NuttX tasking logic.
- These interfaces are* used by the functions in sched/ and all operate on the task group which as been assigned an address environment by up_addrenv_clone().
+ These interfaces are used by the functions in sched/ and all operate on the task group which as been assigned an address environment by up_addrenv_clone().
Dynamic Stack Support.
CONFIG_ARCH_STACK_DYNAMIC=y indicates that the user process stack resides in its own address space.
- This options is also required if CONFIG_BUILD_KERNEL and CONFIG_LIBC_EXECFUNCS are selected.
+ This option is also required if CONFIG_BUILD_KERNEL and CONFIG_LIBC_EXECFUNCS are selected.
Why?
Because the caller's stack must be preserved in its own address space when we instantiate the environment of the new process in order to initialize it.