/* Copyright 2006,2008-2009,2011-2014,2018 | |
Free Software Foundation, Inc. | |
This file is part of Guile. | |
Guile is free software: you can redistribute it and/or modify it | |
under the terms of the GNU Lesser General Public License as published | |
by the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
Guile is distributed in the hope that it will be useful, but WITHOUT | |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | |
License for more details. | |
You should have received a copy of the GNU Lesser General Public | |
License along with Guile. If not, see | |
<https://www.gnu.org/licenses/>. */ | |
/* Correct header inclusion. */ | |
/* When pthreads are used, let `libgc' know about it and redirect allocation | |
calls such as `GC_MALLOC ()' to (contention-free, faster) thread-local | |
allocation. */ | |
/* Don't #define pthread routines to their GC_pthread counterparts. | |
Instead we will be careful inside Guile to use the GC_pthread | |
routines. */ | |
/* Rely on pthreads-w32. */ | |
/* Return true if PTR points to the heap. */ | |
/* Register a disappearing link for the object pointed to by OBJ such that | |
the pointer pointed to be LINK is cleared when OBJ is reclaimed. Do so | |
only if OBJ actually points to the heap. See | |
http://thread.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/2563 | |
for details. */ | |