Fine-grained locking for events

2015-03-04 Thread Sebastian Huber
This patch set adds basic support for fine-grained locking on a per-object scope. The Giant lock is only used for the blocking operations (thread state, scheduler, watchdog). It uses the RTEMS events do demonstrate the basic functionality. The basic idea is to store the intermediate thread block

[PATCH 8/8] score: Implement fine-grained locking for events

2015-03-04 Thread Sebastian Huber
Use the ISR lock of the thread object to protect the event state and use the Giant lock only for the blocking operations. Update #2273. --- cpukit/rtems/Makefile.am | 1 - cpukit/rtems/include/rtems/rtems/eventimpl.h | 49 +++--- cpukit/rtems/src/event.c