wrong behavior binary semaphore

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 30 10:35:06 UTC 2018


On 30/11/2018 11:24, Arturo Perez Garcia wrote:
> Here are the source files. I created a README file explaining the 
> intended goal of the semaphore under text. Under this context, I 
> developed the test. I also put the output obtained.
> I hope these tests help you to find the root of the problems I'm 
> currently facing.

if I run the test I get the following output:

Error creating sync semaphore: RTEMS_TOO_MANY
task 1 start
error obtaining sync semaphore with sc:RTEMS_INVALID_ID
2 error obtaining a3k semaphore with sc:RTEMS_INVALID_ID
error obtaining sync semaphore with sc:RTEMS_INVALID_ID
sleeping kernel : kern_1

The semaphore creation fails since no semaphores are configured. You can 
fix this with:


You may also just use:


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.huber at embedded-brains.de
PGP     : Public key available on request.

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

More information about the users mailing list