nuttx/sched
Gregory Nutt 9400cf2cd1 sched/group: On task creation, do not clone uninitialized descriptors.
Sockets are created in two steps:

1. The socket is allocated, then
2. The socket is initialized.

In SMP mode, there is a possibility that a pthread executing one CPU may create a new task while a pthread on another CPU has allocated the socket but not yet initialized it.  This commit updates the socket clone test to assure that the socket is both allocated and initailized.

Without the change, it is possible that uninitialized sockets could be cloned, leading to errors later in the newly started task.
2020-04-28 21:27:05 +01:00
..
clock Make compare_timespec public so timer driver could reuse it 2020-02-15 07:17:07 -06:00
environ global change: repace sched_xfree() to kxmm_free() 2020-04-09 10:29:28 -06:00
errno Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group sched/group: On task creation, do not clone uninitialized descriptors. 2020-04-28 21:27:05 +01:00
init global change: fix tools/checkpatch.sh warnnings 2020-04-09 10:29:28 -06:00
irq sched/: Fix some new coding standard issues. 2020-03-09 17:31:49 +01:00
module modsym: Fix a printf format for berr 2020-04-13 16:20:09 +01:00
mqueue Fix some macOS sim warnings. 2020-04-11 22:27:42 +01:00
paging Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
pthread Fix some macOS sim warnings. 2020-04-11 22:27:42 +01:00
sched Fix some macOS sim warnings. 2020-04-11 22:27:42 +01:00
semaphore Remove type casting to wdentry_t (sched/) 2020-04-07 06:23:15 -06:00
signal Remove CONFIG_CAN_PASS_STRUCT 2020-04-11 21:19:47 +01:00
task Check return from nxsem_wait_initialize() 2020-03-29 20:11:10 +01:00
timer Update timer_gettime.c 2020-04-24 19:49:29 +08:00
wdog global change: repace sched_xfree() to kxmm_free() 2020-04-09 10:29:28 -06:00
wqueue global change: repace sched_xfree() to kxmm_free() 2020-04-09 10:29:28 -06:00
.gitignore Revert "Don't generate .depend anymore" 2020-03-22 23:07:29 -05:00
Kconfig Introduce CONFIG_DEFAULT_TASK_STACKSIZE 2020-03-26 22:30:13 -05:00
Makefile Revert "Don't generate .depend anymore" 2020-03-22 23:07:29 -05:00