#3534 assigned task

Reduce uses of rtems_event_transient_send()

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: dev Version: 5
Severity: normal Keywords:
Cc: Blocked By:


The transient event predates the self-contained binary semaphores available now via <rtems/threads.h> and is used as workaround to avoid explicit synchronization objects. There are two issues with the transient event.

  1. It is a per-thread resources and using it for different components makes debugging/development difficult. Issues noticed in one component my be caused by another component.
  1. The diagnostic information (e.g. "task" shell command) is poor.

Replace the transient event with a binary semaphore if possible.

Change History (3)

comment:1 Changed on Oct 1, 2018 at 6:16:36 AM by Sebastian Huber

Owner: set to Sebastian Huber
Status: newassigned

comment:2 Changed on Oct 1, 2018 at 7:03:10 AM by Sebastian Huber <sebastian.huber@…>

In fca9132/rtems:

bsp/atsam: Use binary semaphore for SPI

Update #3534.

comment:3 Changed on Oct 1, 2018 at 7:03:25 AM by Sebastian Huber <sebastian.huber@…>

In 5cb23f4b/rtems:

bsp/atsam: Use binary semaphore for I2C

Remove superfluous sleep before each I2C transfer. Reset I2C module
after transfer timeouts.

Update #3534.

Note: See TracTickets for help on using tickets.