/* 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← */