0.6.7.22: removed CVS dollar-Header-dollar tags from sources
[sbcl.git] / src / runtime / gc.h
1 /*
2  * garbage collection
3  */
4
5 /*
6  * This software is part of the SBCL system. See the README file for
7  * more information.
8  *
9  * This software is derived from the CMU CL system, which was
10  * written at Carnegie Mellon University and released into the
11  * public domain. The software is in the public domain and is
12  * provided with absolutely no warranty. See the COPYING and CREDITS
13  * files for more information.
14  */
15
16 #ifndef _GC_H_
17 #define _GC_H_
18
19 extern void gc_init(void);
20
21 /* Note: CMU CL had two different argument conventions for
22  * collect_garbage(..), depending on whether gencgc was in use. SBCL
23  * should have only one, which is automatic right now (20000814) since
24  * we only support gencgc, but should also be maintained if someone
25  * adds another GC, or ports one of the other CMU CL GCs like gengc. */
26 extern void collect_garbage(unsigned last_gen);
27
28 #ifndef ibmrt
29
30 #include "os.h"
31
32 extern void set_auto_gc_trigger(os_vm_size_t usage);
33 extern void clear_auto_gc_trigger(void);
34
35 #endif ibmrt
36
37 #endif _GC_H_