90e94bf55da12d5bd54b4a83e7ac389c0d318180
[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 typedef signed long page_index_t;
19 typedef signed char generation_index_t;
20
21 extern void gc_init(void);
22 extern void gc_initialize_pointers(void);
23 extern void collect_garbage(generation_index_t last_gen);
24 extern void gc_init_tables(void);
25
26
27 #include "os.h"
28
29 extern void set_auto_gc_trigger(os_vm_size_t usage);
30 extern void clear_auto_gc_trigger(void);
31
32 extern int maybe_gc_pending;
33
34 #include "fixnump.h"
35
36 #endif /* _GC_H_ */