/* globals.h * Copyright 1984-2017 Cisco Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* globals that do NOT need to be preserved in a saved heap. * they must be initialized each time the system is brought up. */ /* gc.c */ EXTERN IBOOL S_checkheap; EXTERN uptr S_checkheap_errors; #ifndef WIN32 EXTERN ptr S_child_processes[static_generation+1]; #endif /* WIN32 */ /* scheme.c */ EXTERN IBOOL S_boot_time; EXTERN IBOOL S_errors_to_console; EXTERN ptr S_threads; EXTERN uptr S_nthreads; EXTERN uptr S_pagesize; EXTERN void (*S_abnormal_exit_proc)(); EXTERN char *Sschemeheapdirs; EXTERN char *Sdefaultheapdirs; #ifdef PTHREADS EXTERN s_thread_key_t S_tc_key; EXTERN scheme_mutex_t S_tc_mutex; EXTERN s_thread_cond_t S_collect_cond; EXTERN INT S_tc_mutex_depth; #endif /* segment.c */ #ifdef segment_t2_bits #ifdef segment_t3_bits EXTERN t2table *S_segment_info[1<