source: rtems/cpukit/rtems/src/event.c @ 7d6e94b

4.115
Last change on this file since 7d6e94b was 7d6e94b, checked in by Sebastian Huber <sebastian.huber@…>, on 03/04/15 at 07:02:19

score: Implement fine-grained locking for events

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.

  • Property mode set to 100644
File size: 649 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Event Manager Initialization
5 *  @ingroup ClassicEvent
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2008.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.org/license/LICENSE.
15 */
16
17#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/rtems/eventimpl.h>
22
23void _Event_Manager_initialization( void )
24{
25  /*
26   *  Register the MP Process Packet routine.
27   */
28
29#if defined(RTEMS_MULTIPROCESSING)
30  _MPCI_Register_packet_processor( MP_PACKET_EVENT, _Event_MP_Process_packet );
31#endif
32}
Note: See TracBrowser for help on using the repository browser.