No description
Find a file
Benjamin Walsh 7a613adc14 kernel: fix xxx_fiber_wakeup() if the timeout has expired
A call to xxx_fiber_wakeup() if the timeout had expired would put the
fiber on the fiber ready queue _again_, corrupting it, or could remove
the fiber from a nanokernel object wait queue, prematurely un-pending
it.

We now verify the fiber is indeed still on the timeout queue and also
not on a wait queue, meaning the fiber is indeed sleeping.

Change-Id: Iba454d79ab50db01632b0591fb7b589221b5110b
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-25 11:06:09 -05:00
arch i2c: Remove default value from platform-specific options 2016-02-24 14:34:24 -03:00
boards cc2520: Let's use the maximum SPI clock supported 2016-02-25 14:02:47 +01:00
doc doc: Edit common_kernel_clocks.rst 2016-02-24 17:08:26 +00:00
drivers cc2520: Rework reception logic 2016-02-25 14:02:50 +01:00
include nanokernel: Add routines for waking a fiber 2016-02-23 10:48:54 -05:00
kernel kernel: fix xxx_fiber_wakeup() if the timeout has expired 2016-02-25 11:06:09 -05:00
lib libc-hooks: Make newlib's heap size configurable 2016-02-20 14:57:53 +00:00
misc libc-hooks: Make newlib's heap size configurable 2016-02-20 14:57:53 +00:00
net net: ip: Enable Kconfig based debug options for the IP stack 2016-02-25 11:03:55 +00:00
samples net: Kconfig: Auto select mandatory features for Bluetooth 2016-02-25 10:36:33 +00:00
scripts sanitycheck: use Python 3 2016-02-24 17:10:39 +00:00
tests test: Add nanokernel test_sleep project 2016-02-23 10:48:54 -05:00
.checkpatch.conf checkpatch: Remove --no-signoff option 2016-02-05 20:25:12 -05:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore gitignore: Add vim temporary files 2016-02-05 20:25:14 -05:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap Update .mailmap 2016-02-05 20:24:37 -05:00
Kbuild remove already resolved GENOFFSET_H dependency 2016-02-05 20:25:16 -05:00
Kconfig sanitize use of ARCH/SRCARCH 2016-02-05 20:25:04 -05:00
Kconfig.zephyr kconfig: define architecture as a kconfig variable 2016-02-05 20:24:52 -05:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
Makefile improve 'make help' and remove config targets 2016-02-17 13:42:08 +00:00
Makefile.inc build: fix parallel builds of applications 2016-02-05 20:25:30 -05:00
zephyr-env.sh Use .zephyrrc for initializing common variables 2016-02-17 13:42:25 +00:00