Gregory Nutt
|
830af912a1
|
Add sig_raise()
|
2016-07-04 09:32:36 -06:00 |
|
Gregory Nutt
|
f3ec664f63
|
Debug output level (error, warning, info) is now selectable on a per-subsystem, per-driver basis
|
2016-06-12 13:08:23 -06:00 |
|
Gregory Nutt
|
13cac3b592
|
sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
|
2016-06-11 16:42:42 -06:00 |
|
Gregory Nutt
|
a1469a3e95
|
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
2016-06-11 15:50:49 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Gregory Nutt
|
143d287f11
|
Fix some missing header file inclusions and a misplaced semi-colon from recent commits
|
2016-02-21 11:27:55 -06:00 |
|
Gregory Nutt
|
5a590e99b9
|
Add SYSCALLS for pthread_setaffinity() and pthread_getaffinity()
|
2016-02-19 18:13:06 -06:00 |
|
Gregory Nutt
|
1b5e296cf2
|
Add pthread_setaffinity() and pthread_getaffinity()
|
2016-02-19 17:59:19 -06:00 |
|
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().
|
2016-02-19 17:33:35 -06:00 |
|
Gregory Nutt
|
3994b094c5
|
Remove some empty C file section comments; Update some text in TODO file
|
2016-02-19 10:01:15 -06:00 |
|
Gregory Nutt
|
6e3107650d
|
nuttx/sched: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
2016-02-14 08:17:46 -06:00 |
|
Gregory Nutt
|
74db48202e
|
sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro
|
2016-02-06 17:44:41 -06:00 |
|
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.
|
2015-11-28 10:05:36 -06:00 |
|
Gregory Nutt
|
78ae661223
|
One more trivial spacing issue
|
2015-10-07 20:13:49 -06:00 |
|
Gregory Nutt
|
79d554939e
|
sched/: Fix some spacing issues
|
2015-10-07 19:59:14 -06:00 |
|
Gregory Nutt
|
16b32bbadd
|
Standardize the width of all comment boxes in C files
|
2015-10-03 07:25:53 -06:00 |
|
Gregory Nutt
|
5b51a9fcdd
|
Standardize the width of all comment boxes in C files
|
2015-10-02 17:43:18 -06:00 |
|
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30:35 -06:00 |
|
Gregory Nutt
|
768d892188
|
Add si_errno to siginfo_t
|
2015-08-14 10:10:32 -06:00 |
|
Anton D. Kachalov
|
4a16bc6924
|
[sched/pthread/pthread_kill] Add missed header for enabled CONFIG_SCHED_HAVE_PARENT
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
|
2015-07-30 18:51:37 +03:00 |
|
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 |
|
Juha Niskanen
|
e1846dff82
|
sched/pthread: Implement pthread_mutex_trylock() for recursive mutexes
|
2015-06-16 08:32:20 -06:00 |
|
Juha Niskanen
|
d16053c33c
|
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
|
2015-06-16 08:27:38 -06:00 |
|
Gregory Nutt
|
cc77a28f40
|
If HAVE_GROUP_MEMBERS is not defined, then pthread_kill() really is the same as kill()
|
2015-05-13 20:34:21 -06:00 |
|
Gregory Nutt
|
4417728955
|
Re-implemened pthread_kill(). It as just a simple wrapper around kill() but since the correct dispatching of singles for multi-threaded task groups has been implemented, calling kill() does no work. The corrected implementation of pthread_kill() will direct the signal specifically to the specific pthread and no other.
|
2015-05-13 14:43:43 -06:00 |
|
Gregory Nutt
|
8cb4e78a1a
|
Complete implementation of the IPv6 routing logic. From Max Neklyudov.
|
2015-05-13 07:22:02 -06:00 |
|
Gregory Nutt
|
b4423c1eed
|
Make some file section headers more consistent with standard
|
2015-04-08 06:47:36 -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
|
322f9f401c
|
Simplify how C source files are selected in the build
|
2014-10-07 07:42:36 -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
|
0ab1b0de25
|
nuttx/sched: Remove explicit references to errno. That is a problem from within the kernel for certain configurations
|
2014-08-28 17:00:24 -06:00 |
|
Gregory Nutt
|
d35723749b
|
Minor address environment clean-up. Cannot generate debug contexts in certain contexts
|
2014-08-27 14:22:00 -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
|
ad9b3f8ab8
|
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
|
2014-08-21 11:16:55 -06:00 |
|
Gregory Nutt
|
e1769b22f1
|
Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures
|
2014-08-08 18:39:28 -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
|
23a334c066
|
Move task control files from sched/ to sched/task
|
2014-08-08 16:44:08 -06:00 |
|