zephyr/include
Juan Manuel Torres Palma 342da7ac72 posix: semaphore: fix bugs and simplify code
Modifies several functions that are causing wrong
behaviour.

 * semaphore.h: add missing restrict keyword.
 * sem_destroy(): check that nobody is waiting
   before destroying the object.
 * sem_timedwait(): simpify function logic and
   fix a bug when abstime > currtime, that passed
   ticks instead of ms to k_sem_take().
 * sem_wait(): avoid unnecessary checks.
 * sem_init(): add pshared value assertion.

Signed-off-by: Juan Manuel Torres Palma <j.m.torrespalma@gmail.com>
2018-03-21 14:27:47 -07:00
..
arch arch: arm: SecureFault_IRQn for non-CMSIS-compliant MCUs 2018-03-20 21:34:01 +08:00
bluetooth Bluetooth: Remove 'own_addr' from advertising parameters 2018-03-21 18:11:49 +02:00
crypto
debug debug: remove DEBUG_INFO option 2018-02-12 13:58:28 -08:00
dfu subsys: dfu: boot: Remove unused ver query code. 2018-02-21 18:53:42 -05:00
display doc: APIs: group display drivers 2017-11-17 17:14:18 -05:00
drivers usb: call status_callback on interface set 2018-03-16 14:45:24 -07:00
dt-bindings drivers: clock_control: Provide support for stm32l0x 2018-03-10 11:42:25 -06:00
fs subsys: fs: Add Virtual File system Switch (VFS) support 2018-03-10 21:38:04 -05:00
linker linker: arm: add stm32 ccm sections 2018-02-13 12:36:22 -06:00
logging subsys: kernel_event_logger: change kernel event values 2018-02-23 07:29:29 -05:00
mgmt mgmt: Bluetooth transport for SMP (mcumgr). 2018-02-20 22:07:52 +01:00
misc doc: do not show undocumented members 2018-03-20 14:01:30 -04:00
net net: sockets: Add freeaddrinfo() 2018-03-21 10:00:05 +02:00
posix posix: semaphore: fix bugs and simplify code 2018-03-21 14:27:47 -07:00
random subsys: Add random subsystem 2017-11-01 08:26:29 -04:00
shell subsys: mgmt: Shell transport for SMP (mcumgr). 2018-02-20 22:07:52 +01:00
toolchain toolchain: gcc/common: add header guard 2018-02-10 11:14:32 -05:00
usb usb: Add transfer management API 2018-03-16 14:45:24 -07:00
zephyr
adc.h
aio_comparator.h
atomic.h
cache.h
clock_control.h
console.h
counter.h doc: add missing API content 2017-12-01 08:58:56 -05:00
crc8.h crc: make crc8_ccitt() match the other CRC functions. 2018-03-10 21:49:07 -05:00
crc16.h crc: add crc16_itu_t which is used in the MMC protocol. 2018-02-07 16:49:52 -05:00
device.h device: cleanup header layout 2018-02-07 13:07:46 -05:00
disk_access.h disk: delete the GET_DISK_SIZE IOCTL. 2018-01-31 09:14:40 -05:00
dma.h dma: Fix building when system calls are disabled 2018-02-13 10:32:41 -05:00
entropy.h drivers: Rename random to entropy 2017-11-01 08:26:29 -04:00
eth.h
fcb.h subsys: fs: fcb: remove f_area_id from fcb structure 2018-02-07 09:51:26 -05:00
flash_map.h subsys: storage: flash_map: Fix warning 2018-02-14 14:36:52 -05:00
flash.h flash: minor documentation improvements. 2017-11-28 12:25:19 -05:00
fs.h subsys: fs: Add Virtual File system Switch (VFS) support 2018-03-10 21:38:04 -05:00
gpio.h doc: do not show undocumented members 2018-03-20 14:01:30 -04:00
i2c.h
i2s.h doc: do not show undocumented members 2018-03-20 14:01:30 -04:00
init.h doc: do not show undocumented members 2018-03-20 14:01:30 -04:00
ipm.h
irq_offload.h
irq.h kernel: Make irq_{un}lock() APIs into a global spinlock in SMP mode 2018-02-16 10:44:29 -05:00
json.h doc: json: add to doxygen group 2017-11-22 13:27:01 -05:00
kernel_version.h kernel: version: parenthesize macro value 2018-01-04 13:29:03 -05:00
kernel.h kernel: api: mark internal functions as such 2018-03-20 14:01:30 -04:00
led_strip.h
pinmux.h pinmux: add two more entries to the function enum. 2018-02-05 06:31:35 -08:00
power.h
pwm.h
ring_buffer.h ring_buffer: remove broken object_tracing support 2018-01-18 17:44:38 -05:00
rtc.h
sensor.h sensors: sensor_value: Elaborate docs 2018-02-15 12:55:50 -05:00
shared_irq.h
spi_legacy.h
spi.h drivers: spi: add system call handlers 2017-10-30 13:20:19 -07:00
spinlock.h kernel: Simple spinlock API 2018-02-16 10:44:29 -05:00
stats.h subsys: stats - Statistics support 2018-02-20 22:07:52 +01:00
sw_isr_table.h
sys_clock.h
sys_io.h sys_io.h: don't pull in kernel.h 2017-11-02 13:25:01 -07:00
syscall.h
toolchain.h
uart.h drivers: uart: add system call handlers 2017-10-30 13:20:19 -07:00
watchdog.h
zephyr.h