Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | /* Copyright (C) 1999-2005 Henry Cejtin, Matthew Fluet, Suresh |
2 | * Jagannathan, and Stephen Weeks. | |
3 | * Copyright (C) 1997-2000 NEC Research Institute. | |
4 | * | |
5 | * MLton is released under a BSD-style license. | |
6 | * See the file MLton-LICENSE for details. | |
7 | */ | |
8 | ||
9 | #if (defined (MLTON_GC_INTERNAL_FUNCS)) | |
10 | ||
11 | static inline void switchToSignalHandlerThreadIfNonAtomicAndSignalPending (GC_state s); | |
12 | ||
13 | #endif /* (defined (MLTON_GC_INTERNAL_FUNCS)) */ | |
14 | ||
15 | #if (defined (MLTON_GC_INTERNAL_BASIS)) | |
16 | ||
17 | PRIVATE void GC_startSignalHandler (GC_state s); | |
18 | PRIVATE void GC_finishSignalHandler (GC_state s); | |
19 | ||
20 | #endif /* (defined (MLTON_GC_INTERNAL_BASIS)) */ | |
21 | ||
22 | PRIVATE void GC_handler (GC_state s, int signum); |