Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert the 64-bit usec limit to a 32-bit tick limit | Gregory Nutt | 2015-02-03 | 2 | -8/+9 |
| | |||||
* | Eliminates a warning. From Macs N | Gregory Nutt | 2015-02-03 | 1 | -0/+4 |
| | |||||
* | On my platform I have just 16-bit timer clocked at 32kHz. As result oneshot ↵ | Gregory Nutt | 2015-02-03 | 2 | -5/+35 |
| | | | | timer max delay is 2s. The patch adds limit of maximum ticks in sched_timer_start (nuttx/sched/sched/sched_timerexpiration.c). From Macs N. | ||||
* | clock_systimespec(): Fixes for compilation errors in certain ↵ | Gregory Nutt | 2015-01-30 | 1 | -1/+2 |
| | | | | configurations. From Macs N. | ||||
* | Fix backward calculation in the work queue timing. From Liio Chen via the ↵ | Gregory Nutt | 2015-01-27 | 1 | -5/+13 |
| | | | | PX4 repository | ||||
* | Semaphores: sem_waitirq.c must be built when signals are disabled. That is ↵ | Gregory Nutt | 2014-12-28 | 3 | -14/+13 |
| | | | | because not handles not only the case of semaphore wait being awakened by a signal, but also the case with sem_timedwait.c when the semaphore wait is awakened by a timeout. | ||||
* | Semahores: Remove a warning with SIGNALS are disabled | Gregory Nutt | 2014-12-28 | 1 | -2/+0 |
| | |||||
* | strncpy will not copy the terminating \0 into the destination if the source ↵ | Gregory Nutt | 2014-12-17 | 5 | -4/+10 |
| | | | | 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. | ||||
* | Sempahores: Add logic to clean up after task_delete() or pthread_cancel() ↵ | Gregory Nutt | 2014-12-13 | 7 | -22/+304 |
| | | | | if the task happens to be waiting on a semaphore when it is cancelled | ||||
* | Costmetic change to a comment | Gregory Nutt | 2014-12-13 | 1 | -1/+1 |
| | |||||
* | In message queue created return ENOSPC error if size exceeds the configured ↵ | Gregory Nutt | 2014-12-06 | 2 | -14/+20 |
| | | | | size of pre-allocatd messages; Use ENOSPC vs ENOMEM per OpenGroup.org. From Pierre-Noel Bouteville | ||||
* | msg type should be char * not void * in mq_send, mq_timedsend, mq_receive, ↵ | Gregory Nutt | 2014-12-05 | 7 | -27/+26 |
| | | | | and mq_timedreceive. Noted by Pierre-Noel Bouteville | ||||
* | Fix more issues detected by cppcheck | Gregory Nutt | 2014-11-25 | 1 | -5/+3 |
| | |||||
* | More fixes to problems noted by cppcheck. Some are kind of risky; some are ↵ | Gregory Nutt | 2014-11-25 | 4 | -5/+6 |
| | | | | real bugs. | ||||
* | Cosmetic chnages to comments | Gregory Nutt | 2014-11-20 | 1 | -0/+6 |
| | |||||
* | alling mq_timedreceived with immediate timeout was getting stuck and not | Gregory Nutt | 2014-11-19 | 1 | -2/+39 |
| | | | | | | | | | | | | | timeout. Immediate timeout is achieved by setting absolute timeout value to past time, for example abstime={ .tv_sec=0, .tv_nsec=0 }. However absolute time was converted to relative time using unsigned integer arithmetic and resulted large ticks count by clock_abstime2ticks, instead of expected negative ticks value. Patch corrects clock_abstime2ticks to return negative ticks, if absolute time is in the past. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com> | ||||
* | Fix some compile issues introduces with removal of CONFIG_MAX_TASK_ARGS | Gregory Nutt | 2014-11-14 | 1 | -1/+5 |
| | |||||
* | Fix some compile errors introduce in last commits | Gregory Nutt | 2014-11-13 | 1 | -1/+1 |
| | |||||
* | task_create: Don't even try if the accumulated size of the argument list is ↵ | Gregory Nutt | 2014-11-13 | 1 | -1/+8 |
| | | | | larger than the stack | ||||
* | vfork no longer depends on CONFIG_MAX_TASK_ARGS | Gregory Nutt | 2014-11-12 | 2 | -18/+51 |
| | |||||
* | task_start() no longer depends on CONFIG_MAX_TASK_ARGS | Gregory Nutt | 2014-11-12 | 1 | -0/+5 |
| | |||||
* | task_setup() no longer depends on CONFIG_MAX_TASK_ARGS | Gregory Nutt | 2014-11-12 | 1 | -8/+19 |
| | |||||
* | Remove CONFIG_MAX_TASK_ARGS from all Kconfigs and defconfigs | Gregory Nutt | 2014-11-12 | 1 | -7/+0 |
| | |||||
* | Fix an important bug in the watchdog creation logic | Gregory Nutt | 2014-11-10 | 1 | -1/+1 |
| | |||||
* | Fix incorrect comment | Gregory Nutt | 2014-11-07 | 1 | -3/+1 |
| | |||||
* | More fixes to tickless operation, alarm/mode code. From Brandon Warhurst | Gregory Nutt | 2014-10-23 | 1 | -1/+7 |
| | |||||
* | Fixes to tickless operation code. From Brandon Warhurst | Gregory Nutt | 2014-10-23 | 1 | -5/+5 |
| | |||||
* | Default for CONFIG_SCHED_HPWORK should be no | Gregory Nutt | 2014-10-14 | 1 | -1/+1 |
| | |||||
* | Add description of work queues to the porting guide. Update comments | Gregory Nutt | 2014-10-14 | 1 | -5/+5 |
| | |||||
* | Missing workqueue logic | Gregory Nutt | 2014-10-12 | 1 | -0/+3 |
| | |||||
* | Fix one missed name change from last big commit | Gregory Nutt | 2014-10-12 | 1 | -3/+3 |
| | |||||
* | Change naming of HP work queue configuration varaibles to be symmetric with ↵ | Gregory Nutt | 2014-10-11 | 2 | -7/+7 |
| | | | | LP work queue naming | ||||
* | Eliminate warnings | Gregory Nutt | 2014-10-11 | 1 | -1/+1 |
| | |||||
* | Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORK | Gregory Nutt | 2014-10-11 | 2 | -4/+4 |
| | |||||
* | Decouple the user-space work queue from the kernel space work queues | Gregory Nutt | 2014-10-11 | 1 | -1/+170 |
| | |||||
* | Make building of low-priority work queue independent of also building the ↵ | Gregory Nutt | 2014-10-11 | 1 | -11/+3 |
| | | | | high-priority work queue | ||||
* | Fix some missing conditional compilation that caused build failures in some ↵ | Gregory Nutt | 2014-10-11 | 1 | -2/+5 |
| | | | | configurations | ||||
* | Fix a couple of problems introduced in the last commmits | Gregory Nutt | 2014-10-11 | 1 | -0/+1 |
| | |||||
* | If there mutliple low-priority worker threads, only one needs to perform ↵ | Gregory Nutt | 2014-10-11 | 4 | -54/+95 |
| | | | | garbage collection | ||||
* | Add logic for priority inheritance with multiple worker threads. How should ↵ | Gregory Nutt | 2014-10-10 | 1 | -45/+100 |
| | | | | this work? Tentatively, the all get reprioritized together. It would be best to just reprioritize the single thread doing the high priority work, but we don't know which that will be in advance | ||||
* | Add support for multiple low-priority worker threads | Gregory Nutt | 2014-10-10 | 8 | -48/+171 |
| | |||||
* | Fix a few bugs introduced in the last checkin | Gregory Nutt | 2014-10-10 | 1 | -4/+2 |
| | |||||
* | User-mode work queue logic should not disable interrupts | Gregory Nutt | 2014-10-10 | 5 | -1/+389 |
| | |||||
* | Add support for delays of different durations in work queue processing | Gregory Nutt | 2014-10-10 | 4 | -18/+22 |
| | |||||
* | Minor changes to work queue timing logic | Gregory Nutt | 2014-10-10 | 2 | -0/+10 |
| | |||||
* | Modularize starting of worker threads to better isolate individual ↵ | Gregory Nutt | 2014-10-10 | 4 | -93/+153 |
| | | | | initialization characteristics | ||||
* | Fix some conditional logic in last work queue repartitioning change | Gregory Nutt | 2014-10-10 | 2 | -4/+1 |
| | |||||
* | Decoupling work queue data structures. This is part of the preparation to ↵ | Gregory Nutt | 2014-10-10 | 9 | -18/+420 |
| | | | | support multiple low-priority worker threads | ||||
* | Repartition work queue code. Move kernel-specific parts from libc/wqueue to ↵ | Gregory Nutt | 2014-10-10 | 6 | -5/+377 |
| | | | | sched/wqueue | ||||
* | Update some Kconfig comments; Add a upper limit on the lower priority worker ↵ | Gregory Nutt | 2014-10-07 | 1 | -0/+14 |
| | | | | thread for priority inheritance |