Gregory Nutt
|
27e21710fd
|
This is basically a complete redesign of the sporadic scheduling logic due to limitations in the initial design
|
2015-07-25 12:50:53 -06:00 |
|
Gregory Nutt
|
a1031417e8
|
Comment out part of sporadic scheduler logic: Part of replenishment logic is bogus
|
2015-07-24 18:18:58 -06:00 |
|
Gregory Nutt
|
ea7dbc984b
|
Add basic sporadic schedule state machine
|
2015-07-24 09:03:21 -06:00 |
|
Gregory Nutt
|
3b1306078b
|
Sporadic Scheduler: Ensure that the replenishment period is greater than or equal to the budget period
|
2015-07-23 15:08:41 -06:00 |
|
Gregory Nutt
|
5baa738019
|
Most cosmetic, but includes some fixes to some range checking
|
2015-07-23 14:36:49 -06:00 |
|
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.
|
2015-07-23 13:16:32 -06:00 |
|
Gregory Nutt
|
aa90da2bc8
|
pthread_create: Fix an (unlikely) error in fallback value in the event of a failure (which should never occur)
|
2015-07-23 11:25:25 -06:00 |
|
Gregory Nutt
|
146bdc3c93
|
TCB: Increase the size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies
|
2015-07-23 10:15:07 -06:00 |
|
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.
|
2015-07-01 06:24:34 -06:00 |
|
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.
|
2014-12-17 12:24:02 -06:00 |
|
Gregory Nutt
|
e953fb11cd
|
A const storage class to to phthread parameters. From Freddie Chopin
|
2014-09-08 06:21:48 -06:00 |
|
Gregory Nutt
|
1822b86373
|
Fix some conditional compilation in kernel build mode. And, while we are touching this logic, make g_default_pthread_attr const.
|
2014-09-07 10:46:58 -06:00 |
|
Gregory Nutt
|
205260d5e2
|
Reanem kzalloc to kmm_zalloc for consistency
|
2014-08-31 17:34:44 -06:00 |
|
Gregory Nutt
|
e3ff0689bb
|
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
|
2014-08-29 14:47:22 -06:00 |
|
Gregory Nutt
|
1624e2fbcf
|
Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support
|
2014-08-24 06:42:11 -06:00 |
|
Gregory Nutt
|
e79d6e3c8b
|
A few fixes for compilation errors due to recent address environment fixes
|
2014-08-22 15:55:00 -06:00 |
|
Gregory Nutt
|
1d586e6136
|
An address environment is the property of a task group, not of a thread
|
2014-08-22 12:32:34 -06:00 |
|
Gregory Nutt
|
d798dd37a7
|
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
|
2014-08-08 17:53:55 -06:00 |
|
Gregory Nutt
|
d4b56eb3cc
|
Move clock functions from sched/ to sched/clock
|
2014-08-08 14:43:02 -06:00 |
|
Gregory Nutt
|
0f318e9249
|
Move watchdog functions from sched/ to sched/wdog
|
2014-08-08 14:21:48 -06:00 |
|
Gregory Nutt
|
4ff17b3904
|
Move group logic from sched/ to sched/group
|
2014-08-08 14:06:42 -06:00 |
|
Gregory Nutt
|
cb79407ced
|
Move all pthread files from sched/ to sched/pthread
|
2014-08-08 12:55:02 -06:00 |
|