Gregory Nutt
|
a64869aa67
CONFIG_NFILE_DESCRIPTORS=0 can no longer be used to disable the file system. NuttX with no file system does not make sense.
|
5 年之前 |
Gregory Nutt
|
bb623d1e04
This commit renames all internal OS functions defined under sched/task so that they begin with the prefix. For example, nxtask_exit() vs. task_exit().
|
5 年之前 |
Gregory Nutt
|
9546481054
Fix some typographical errors.
|
6 年之前 |
xuanlin
|
2c93467436
pthreads: Add support static pthread stack. Add standard pthread_attr_setstack() and pthread_attr_getstack(). In all cases where the stack is released, add check to see which allocator must be used to free the stack: The user or the kernel allocator.
|
6 年之前 |
Gregory Nutt
|
8fdbb1e0a4
Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t
|
6 年之前 |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 年之前 |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 年之前 |
Gregory Nutt
|
82982f7972
sched/: Fix several inappropriate accesses to get_errno() that were missed in previous changes (some going back to nuttx-.23). Add new nxsched_setscheduler() and nxsched_getaffinity() which are equivalent to their counterparts without the nx on front. These versions do not modify the errno value. Changed all calls within the OS to use these newer versions of the functions.
|
6 年之前 |
Gregory Nutt
|
170a50c690
Squashed commit of the following:
|
6 年之前 |
Gregory Nutt
|
42a0796615
Squashed commit of the following:
|
7 年之前 |
Gregory Nutt
|
83cdb0c552
Squashed commit of the following:
|
7 年之前 |
Arjun Hary
|
b274a97840
Miscellaneous fixes from astyle tool.
|
7 年之前 |
Gregory Nutt
|
a8708424c2
pthread_trylock: Fixes a problem in pthread_trylock() noted by initialkjc@yahoo.com. When CONFIG_PTHREAD_MUTEX_UNSAFE=y, the special return value EAGAIN was not being detected due to differences in reporting of returned values.
|
7 年之前 |
Jussi Kivilinna
|
c57d49f420
clock: Add new type ssystime_t for relative 64-bit ticks, change ticks<->time conversion functions to use ssystime_t
|
7 年之前 |
Gregory Nutt
|
2c37d369ab
pthread: Fix return value of pthread_give/takesemaphore(). Add option to pthread_takesemaphore to ignore EINTR or not.
|
7 年之前 |
Gregory Nutt
|
4dbc0a27c6
pthread_create: g_pthreadname[] is not used if CONFIG_TASK_NAME_SIZE==0.
|
7 年之前 |
Gregory Nutt
|
acaae12e8b
Add pthread_testcancel(), pthread_testcancel(), and definitiions for cancellation types.
|
7 年之前 |
Gregory Nutt
|
0d5bd30943
Fix a type in include file name
|
8 年之前 |
Gregory Nutt
|
1da3a5fa61
sched: Disable priority inheritance on all semaphores used for signaling
|
8 年之前 |
Gregory Nutt
|
8669183852
sched/pthread and task: When a pthread is started, there is a small bit of logic that will run on the thread of execution of the new pthread. In the case where the new pthread has a lower priority than the parent thread, then this could cause both the parent thread and the new pthread to be blocked at the priority of the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected).
|
8 年之前 |
Gregory Nutt
|
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
8 年之前 |
Gregory Nutt
|
143d287f11
Fix some missing header file inclusions and a misplaced semi-colon from recent commits
|
8 年之前 |
Gregory Nutt
|
a633353ec3
Add a CPU affinity set to the TCB if SMP is enable and use this CPU set as a mask for determining which CPUs the thread may run on. Add an affinity field to the attrributes to permit controlling which CPUs a pthread may run on. Implements pthread_att_setaffinity_np() and pthread_attr_getaffinity_np().
|
8 年之前 |
Gregory Nutt
|
74db48202e
sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro
|
8 年之前 |
Gregory Nutt
|
48da5aa496
sched/pthread/: CRITICAL BUGFIX: Logic was wiping out the indication that of the type of a pthread. Hence, it could be confused as a task. Found because this was causing a crash when /proc/nnn/cmdline was printed.
|
9 年之前 |
Gregory Nutt
|
79d554939e
sched/: Fix some spacing issues
|
9 年之前 |
Gregory Nutt
|
27e21710fd
This is basically a complete redesign of the sporadic scheduling logic due to limitations in the initial design
|
9 年之前 |
Gregory Nutt
|
a1031417e8
Comment out part of sporadic scheduler logic: Part of replenishment logic is bogus
|
9 年之前 |
Gregory Nutt
|
ea7dbc984b
Add basic sporadic schedule state machine
|
9 年之前 |
Gregory Nutt
|
3b1306078b
Sporadic Scheduler: Ensure that the replenishment period is greater than or equal to the budget period
|
9 年之前 |