[RTEMS Project] #2366: Create a Public API for the Atomic Operations

RTEMS trac trac at rtems.org
Thu Jun 11 15:16:31 UTC 2015


#2366: Create a Public API for the Atomic Operations
---------------------------+------------------
 Reporter:  joel.sherrill  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  5.0
Component:  cpukit         |    Version:  4.11
 Severity:  normal         |   Keywords:
---------------------------+------------------
 Ticket #2364 regarded use of a pthread mutex in three graphics driver as
 basically an atomic flag to ensure only one open() was active at a time.
 This created an unnecessary dependency on the POSIX API being enabled. I
 changed the code to use score Atomic flags.

 This highlighted the need for a public Atomic API.

 The existing tests could be converted to the public API, a macro wrapper
 written for Classic API Atomics, and documentation added. This may be
 enough to be a small GSOC project.

--
Ticket URL: <http://devel.rtems.org/ticket/2366>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list