Mercurial > hg > xemacs-beta
comparison src/vdb-fake.c @ 3092:141c2920ea48
[xemacs-hg @ 2005-11-25 01:41:31 by crestani]
Incremental Garbage Collector
author | crestani |
---|---|
date | Fri, 25 Nov 2005 01:42:08 +0000 |
parents | |
children | 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
3091:c22d8984148c | 3092:141c2920ea48 |
---|---|
1 /* Virtual diry bit implementation for XEmacs. | |
2 Copyright (C) 2005 Marcus Crestani. | |
3 | |
4 This file is part of XEmacs. | |
5 | |
6 XEmacs is free software; you can redistribute it and/or modify it | |
7 under the terms of the GNU General Public License as published by the | |
8 Free Software Foundation; either version 2, or (at your option) any | |
9 later version. | |
10 | |
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with XEmacs; see the file COPYING. If not, write to | |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
19 Boston, MA 02111-1307, USA. */ | |
20 | |
21 /* Synched up with: Not in FSF. */ | |
22 | |
23 #include <config.h> | |
24 #include "lisp.h" | |
25 | |
26 void | |
27 fake_error (void) | |
28 { | |
29 fprintf (stderr, "Incremental garbage collection not yet available on this"); | |
30 fprintf (stderr, "system.\nDon't try to set allow-incremental-gc to t.\n"); | |
31 ABORT (); | |
32 } | |
33 | |
34 void | |
35 vdb_install_signal_handler (void) | |
36 { | |
37 allow_incremental_gc = 0; | |
38 } | |
39 | |
40 void | |
41 vdb_protect (void *UNUSED (ptr), EMACS_INT UNUSED (len)) | |
42 { | |
43 fake_error (); | |
44 } | |
45 | |
46 void | |
47 vdb_unprotect (void *UNUSED (ptr), EMACS_INT UNUSED (len)) | |
48 { | |
49 fake_error (); | |
50 } |