Gregory Nutt
|
7aff059fd0
|
Move sleep() and usleep() from sched/ to libc/unistd/. These functions now are simple wrappers for nanosleep(). Remove sleep() and usleep() from system calls; add nanosleep() to system calls
|
2013-12-13 07:57:13 -06:00 |
|
Gregory Nutt
|
342e777029
|
Add nanosleep()
|
2013-12-12 20:12:33 -06:00 |
|
Gregory Nutt
|
1f616ecf1f
|
Move task_terminate to its own C file to prevent drawing task_delete into the link
|
2013-04-25 16:23:30 -06:00 |
|
Gregory Nutt
|
5187631e30
|
_exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit()
|
2013-04-18 16:15:20 -06:00 |
|
patacongo
|
0db8dc83ee
|
up_addregion should use kmm_addregion; move garbage kmm*.c file to mm/. for now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5721 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-08 22:01:50 +00:00 |
|
patacongo
|
4134862fb2
|
Move work queue logic from sched/ to libc/wqueue. It is not core logic and will be extended to support user-space work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5711 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-05 18:57:51 +00:00 |
|
patacongo
|
7ed910d7cd
|
Fix some problems with the vfork() test on the STM32F3Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5628 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-08 22:53:14 +00:00 |
|
patacongo
|
5c093af766
|
Changed needed to fix issues with task_restart()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5615 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-06 15:43:28 +00:00 |
|
patacongo
|
bbf990f417
|
Moving pending signals to task group; Logic to recover some MQ resources on pthread_cacancel or task_delete; Now obeys rules for delivering signals to a process with threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5613 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-05 19:50:37 +00:00 |
|
patacongo
|
5475d02446
|
Move list of open message queues to task group. Now message queues opened by members of the group will be closed when the last member of the group exits.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5609 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 16:55:38 +00:00 |
|
patacongo
|
d0003c1a00
|
Now that join info is in the task group, need to free when task group exits. Used to be stranded
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5603 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-03 17:39:54 +00:00 |
|
patacongo
|
46bb05696e
|
Move pthread join and key creation data into the task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5602 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-03 16:43:58 +00:00 |
|
patacongo
|
329328e5df
|
New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-02 19:31:30 +00:00 |
|
patacongo
|
151dfee1f9
|
Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-27 15:52:58 +00:00 |
|
patacongo
|
4c3b71131e
|
Move socket data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 23:49:02 +00:00 |
|
patacongo
|
d5582f35af
|
Fix a recently introduced memory leak
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5568 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 21:01:19 +00:00 |
|
patacongo
|
fc8136d5d3
|
Don't keep the parent task's task ID in the child task's TCB. Instead, keep the parent task group IN the child task's task group.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5566 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 17:28:20 +00:00 |
|
patacongo
|
0cefbf4762
|
Move environment variables in the task group structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5565 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-25 23:21:27 +00:00 |
|
patacongo
|
c9752dfb87
|
Add logic to send SIGCHLD to all members of a task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5564 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-25 20:00:37 +00:00 |
|
patacongo
|
03fd50017d
|
Add framework to support task groups
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5562 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-25 17:23:38 +00:00 |
|
patacongo
|
21817ecc38
|
lpc1788 update from Rommel Marcelo; Beginning of logic to retain child exit status
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5549 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-22 23:42:51 +00:00 |
|
patacongo
|
29cdbe6143
|
Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-18 16:37:37 +00:00 |
|
patacongo
|
3888a00d2d
|
Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-18 01:52:42 +00:00 |
|
patacongo
|
b8e53dad52
|
Use SIGCHLD with waitpid(); implemented wait() and waitid()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5515 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-13 18:53:00 +00:00 |
|
patacongo
|
8811cbdb94
|
This initial vfork() check-in was a little pollyanna-ish
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5487 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-07 19:35:47 +00:00 |
|
patacongo
|
9b37a2c4fc
|
Implement pause()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5376 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-21 00:39:30 +00:00 |
|
patacongo
|
469ec154c0
|
Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-20 15:47:41 +00:00 |
|
patacongo
|
26c9112ad2
|
Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-17 18:54:53 +00:00 |
|
patacongo
|
f751d36eee
|
Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-15 17:43:29 +00:00 |
|
patacongo
|
a5f761c24e
|
Correct some issues with last check-in; ez80 still does not build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-11 23:44:31 +00:00 |
|
patacongo
|
a1cf659333
|
Completes removal bash ARCHIVE loop; Adds basic Makefile for native windows build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5338 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-11 18:36:28 +00:00 |
|
patacongo
|
3d2879fc4e
|
Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5335 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-11 15:42:12 +00:00 |
|
patacongo
|
561bea0899
|
Add support for multiple work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5081 42af7a65-404d-4744-a932-0658087f49c3
|
2012-09-04 00:54:09 +00:00 |
|
patacongo
|
97301a8aed
|
Add interfaces to support getting/setting of thread/task names
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4658 42af7a65-404d-4744-a932-0658087f49c3
|
2012-04-26 15:00:35 +00:00 |
|
patacongo
|
9473d2192f
|
Add on_exit(); Re-order some logic in the task shutdown sequence. Sometimes some complex logic needs to execute when closing file descriptors and this needs to happen early while the task is still healthy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4354 42af7a65-404d-4744-a932-0658087f49c3
|
2012-01-31 23:39:12 +00:00 |
|
patacongo
|
fe4c8b72b0
|
Fix for sem_timedwait.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3803 42af7a65-404d-4744-a932-0658087f49c3
|
2011-07-20 13:19:07 +00:00 |
|
patacongo
|
2928511cce
|
Add sem_timedwait()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3798 42af7a65-404d-4744-a932-0658087f49c3
|
2011-07-19 13:40:15 +00:00 |
|
patacongo
|
ae8cfb1bf1
|
atexit() functions now called when task killed by task delete; For MCUs with <= 64Kb of SRAM, CONFIG_MM_SMALL can be defined to reduce the memory allocation overhead
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3648 42af7a65-404d-4744-a932-0658087f49c3
|
2011-05-28 21:42:18 +00:00 |
|
patacongo
|
9ecda2e9fa
|
More timer changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3572 42af7a65-404d-4744-a932-0658087f49c3
|
2011-05-06 21:10:00 +00:00 |
|
patacongo
|
12f3097882
|
Rename uptime to UTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3528 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-20 14:12:52 +00:00 |
|
patacongo
|
9076917379
|
More changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3513 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-16 13:00:57 +00:00 |
|
patacongo
|
32e6941ed7
|
Add time and uptime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3506 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-15 14:57:53 +00:00 |
|
patacongo
|
10538a3f2e
|
Macro clock_systimer replaces direct access to g_system_timer variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3500 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-13 21:44:24 +00:00 |
|
patacongo
|
c80fb6cbcf
|
LPCXpression console on UART3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3497 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-13 03:12:51 +00:00 |
|
patacongo
|
4388221844
|
More separation of kernel- and user-memory management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3468 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-05 17:33:50 +00:00 |
|
patacongo
|
3552ddb5ff
|
Add a layer to redirect kernel-mode memory manager accesses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3466 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-05 15:50:01 +00:00 |
|
patacongo
|
985929a8c3
|
Move core of fdopen() logic from lib/stdio to fs/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3464 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-04 23:02:00 +00:00 |
|
patacongo
|
1dd25651bb
|
Kernel build mostly successful
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3454 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-02 15:25:22 +00:00 |
|
patacongo
|
46314eb2a9
|
Move more functions out of sched/ to lib/; proxies almost build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3453 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-02 01:23:08 +00:00 |
|
patacongo
|
61300c7ae2
|
Stubs are working/Proxies are close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3451 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-01 21:36:17 +00:00 |
|