On 22/01/2019 17:35, Gedare Bloom wrote:
Hello all,

I'm debugging a problem for someone, and they appear to be using a simple binary semaphore with a timeout that might be triggering a bug. I can't find a test case for simple binary semaphores in RTEMS with timeout, am I missing something? I also don't see tests for binary semaphores with timeout that aren't using PIP.

I would be not surprised if a test is missing.

For the self-contained binary semaphores there are some simple tests here:

testsuites/sptests/spthread01/init.c

The timeout handling is contained in thread queues, so this code is covered by a lot of other test cases.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to