/* begincopyright Copyright (c) 1988 Xerox Corporation. All rights reserved. Use and copying of this software and preparation of derivative works based upon this software are permitted. Any distribution of this software or derivative works must comply with all applicable United States export control laws. This software is made available AS IS, and Xerox Corporation makes no warranty about the software, its performance or its conformity to any specification. Any person obtaining a copy of this software is requested to send their name and post office or electronic mail address to: PCR Coordinator Xerox PARC 3333 Coyote Hill Rd. Palo Alto, CA 94304 endcopyright */ /* * ThreadsInlines.h * * Threads inline expansion control. * * Demers, June 22, 1990 9:23:01 am PDT */ #ifndef _XR_THREADS_INLINES_ #define _XR_THREADS_INLINES_ 1 #define XR_DBX_KLUDGE 1 /* * Default value ... */ #ifndef XR_THREADS_INLINE # define XR_THREADS_INLINE 1 /* default */ #endif /* * Threads.h ... */ #ifndef XR_MONITOR_ENTRY # define XR_MONITOR_ENTRY XR_THREADS_INLINE #endif #ifndef XR_MONITOR_EXIT # define XR_MONITOR_EXIT XR_THREADS_INLINE #endif #ifndef XR_MSEC_TO_TICKS # define XR_MSEC_TO_TICKS XR_THREADS_INLINE #endif #ifndef XR_TICKS_TO_MSEC # define XR_TICKS_TO_MSEC XR_THREADS_INLINE #endif #ifndef XR_TICKS_LATER # define XR_TICKS_LATER XR_THREADS_INLINE #endif #ifndef XR_DISABLE_TIMEOUT # define XR_DISABLE_TIMEOUT XR_THREADS_INLINE #endif #ifndef XR_GET_TIMEOUT # define XR_GET_TIMEOUT XR_THREADS_INLINE #endif #ifndef XR_ENABLE_ABORTS # define XR_ENABLE_ABORTS XR_THREADS_INLINE #endif #ifndef XR_DISABLE_ABORTS # define XR_DISABLE_ABORTS XR_THREADS_INLINE #endif #ifndef XR_GET_PRIORITY # define XR_GET_PRIORITY XR_THREADS_INLINE #endif #ifndef XR_ABORT_PENDING # define XR_ABORT_PENDING XR_THREADS_INLINE #endif #ifndef XR_GET_PER_THREAD_DATA_ADDRESS # define XR_GET_PER_THREAD_DATA_ADDRESS XR_THREADS_INLINE #endif /* * ThreadsBackdoor.h ... */ /* nothing! */ /* * ThreadsDynamicEnvironment.h */ #ifndef XR_GET_DYNAMIC_ENVIRONMENT # define XR_GET_DYNAMIC_ENVIRONMENT XR_THREADS_INLINE #endif #ifndef XR_SET_DYNAMIC_ENVIRONMENT # define XR_SET_DYNAMIC_ENVIRONMENT XR_THREADS_INLINE #endif /* * ThreadsPrivate.h ... */ #ifndef XR_TEST # define XR_TEST XR_THREADS_INLINE #endif #ifndef XR_UNSET # define XR_UNSET XR_THREADS_INLINE #endif #ifndef XR_INIT_PSL # define XR_INIT_PSL XR_THREADS_INLINE #endif #ifndef XR_ACQUIRE_PSL # define XR_ACQUIRE_PSL XR_THREADS_INLINE #endif #ifndef XR_RELEASE_PSL # define XR_RELEASE_PSL XR_THREADS_INLINE #endif #ifndef XR_INIT_GSL # define XR_INIT_GSL XR_THREADS_INLINE #endif #ifndef XR_ACQUIRE_GSL # define XR_ACQUIRE_GSL XR_THREADS_INLINE #endif #ifndef XR_RELEASE_GSL # define XR_RELEASE_GSL XR_THREADS_INLINE #endif #ifndef XR_TRY_GSL # define XR_TRY_GSL XR_THREADS_INLINE #endif #ifndef XR_INIT_TQ # define XR_INIT_TQ XR_THREADS_INLINE #endif #ifndef XR_NONEMPTY_TQ # define XR_NONEMPTY_TQ XR_THREADS_INLINE #endif #ifndef XR_GET_HD_TQ # define XR_GET_HD_TQ XR_THREADS_INLINE #endif #ifndef XR_INIT_WQ # define XR_INIT_WQ XR_THREADS_INLINE #endif #ifndef XR_NONEMPTY_WQ # define XR_NONEMPTY_WQ XR_THREADS_INLINE #endif #ifndef XR_CHECK_RESCHED_REQUEST # define XR_CHECK_RESCHED_REQUEST XR_THREADS_INLINE #endif #ifndef XR_LOCK_META # define XR_LOCK_META XR_THREADS_INLINE #endif #ifndef XR_TRY_META # define XR_TRY_META XR_THREADS_INLINE #endif #ifndef XR_UNLOCK_META # define XR_UNLOCK_META XR_THREADS_INLINE #endif #endif /* _XR_THREADS_INLINES_ */