source: branches/libc-0.6/src/gcc/libobjc/thr-rtems.c@ 2777

Last change on this file since 2777 was 2, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 4.1 KB
Line 
1/* GNU Objective C Runtime Thread Implementation
2 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
3 Contributed by Galen C. Hunt ([email protected])
4 Renamed from thr-vxworks.c to thr-rtems.c by
5 Ralf Corsepius ([email protected])
6
7This file is part of GNU CC.
8
9GNU CC is free software; you can redistribute it and/or modify it under the
10terms of the GNU General Public License as published by the Free Software
11Foundation; either version 2, or (at your option) any later version.
12
13GNU CC is distributed in the hope that it will be useful, but WITHOUT ANY
14WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
16details.
17
18You should have received a copy of the GNU General Public License along with
19GNU CC; see the file COPYING. If not, write to the Free Software
20Foundation, 59 Temple Place - Suite 330,
21Boston, MA 02111-1307, USA. */
22
23/* As a special exception, if you link this library with files compiled with
24 GCC to produce an executable, this does not cause the resulting executable
25 to be covered by the GNU General Public License. This exception does not
26 however invalidate any other reasons why the executable file might be
27 covered by the GNU General Public License. */
28
29#include <objc/thr.h>
30#include "runtime.h"
31
32/* Thread local storage for a single thread */
33static void *thread_local_storage = NULL;
34
35/* Backend initialization functions */
36
37/* Initialize the threads subsystem. */
38int
39__objc_init_thread_system(void)
40{
41 /* No thread support available */
42 return -1;
43}
44
45/* Close the threads subsystem. */
46int
47__objc_close_thread_system(void)
48{
49 /* No thread support available */