source: rtems/cpukit/score/src/objectclose.c @ 345fc11

4.104.114.9
Last change on this file since 345fc11 was 345fc11, checked in by Joel Sherrill <joel.sherrill@…>, on May 22, 2008 at 8:38:03 PM

2008-05-22 Joel Sherrill <joel.sherrill@…>

  • itron/include/rtems/itron/task.h, itron/src/del_tsk.c, itron/src/exd_tsk.c, itron/src/task.c, posix/include/rtems/posix/threadsup.h, posix/src/cancel.c, posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c, posix/src/setcancelstate.c, posix/src/setcanceltype.c, posix/src/testcancel.c, rtems/src/taskdelete.c, score/inline/rtems/score/object.inl, score/src/objectclose.c, score/src/threadclose.c: Make all task delete/exit/cancel routines follow the same critical section pattern. Also ensure that POSIX cancelation routines are run at thread exit.
  • Property mode set to 100644
File size: 611 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2008.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/system.h>
17#include <rtems/score/object.h>
18#include <rtems/score/wkspace.h>
19
20void _Objects_Close(
21  Objects_Information  *information,
22  Objects_Control      *the_object
23)
24{
25  _Objects_Invalidate_Id( information, the_object );
26
27  _Objects_Namespace_remove( information, the_object );
28}
Note: See TracBrowser for help on using the repository browser.