Gregory Nutt
|
5baa738019
Most cosmetic, but includes some fixes to some range checking
|
9 年之前 |
Gregory Nutt
|
9095e8eab4
include/, sched/, and libc/: Add support for sporadic scheduling parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t. Update all user interfaces to pass sporadic scheduling parameters. Feature is dependent on EXPERIMENTAL and no changes have yet been made to core scheduling logic.
|
9 年之前 |
Gregory Nutt
|
aa90da2bc8
pthread_create: Fix an (unlikely) error in fallback value in the event of a failure (which should never occur)
|
9 年之前 |
Gregory Nutt
|
146bdc3c93
TCB: Increase the size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies
|
9 年之前 |
Jussi Kivilinna
|
13d9383679
Group binding needs to be cleared before sched_releasetcb(), as otherwise group_leave() will be called and group->tg_nmembers decremented or group being released. group_leave() should be called only after group_join() is called, not after group_bind(). From Jussi Kivilinna.
|
9 年之前 |
Gregory Nutt
|
937f9f23f1
strncpy will not copy the terminating \0 into the destination if the source is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
|
9 年之前 |
Gregory Nutt
|
e953fb11cd
A const storage class to to phthread parameters. From Freddie Chopin
|
10 年之前 |
Gregory Nutt
|
1822b86373
Fix some conditional compilation in kernel build mode. And, while we are touching this logic, make g_default_pthread_attr const.
|
10 年之前 |
Gregory Nutt
|
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
|
10 年之前 |
Gregory Nutt
|
e3ff0689bb
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
|
10 年之前 |
Gregory Nutt
|
1624e2fbcf
Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support
|
10 年之前 |
Gregory Nutt
|
e79d6e3c8b
A few fixes for compilation errors due to recent address environment fixes
|
10 年之前 |
Gregory Nutt
|
1d586e6136
An address environment is the property of a task group, not of a thread
|
10 年之前 |
Gregory Nutt
|
d798dd37a7
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
|
10 年之前 |
Gregory Nutt
|
d4b56eb3cc
Move clock functions from sched/ to sched/clock
|
10 年之前 |
Gregory Nutt
|
0f318e9249
Move watchdog functions from sched/ to sched/wdog
|
10 年之前 |
Gregory Nutt
|
4ff17b3904
Move group logic from sched/ to sched/group
|
10 年之前 |
Gregory Nutt
|
cb79407ced
Move all pthread files from sched/ to sched/pthread
|
10 年之前 |