source: rtems/cpukit/score/src/objectclose.c @ 2afb22b

5
Last change on this file since 2afb22b was d3802bb5, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/15 at 07:50:01

score: Delete object control block ISR lock

The Objects_Control::Lock was a software layer violation. It worked
only for the threads since they are somewhat special.

Update #2273.

  • Property mode set to 100644
File size: 615 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Close Object
5 *  @ingroup ScoreObject
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/score/objectimpl.h>
22
23void _Objects_Close(
24  Objects_Information  *information,
25  Objects_Control      *the_object
26)
27{
28  _Objects_Invalidate_Id( information, the_object );
29
30  _Objects_Namespace_remove( information, the_object );
31}
Note: See TracBrowser for help on using the repository browser.