%-*-mode:latex-*-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Copyright (C) 1996-2004 Jason Evans <jasone@canonware.com>.
% All rights reserved.
% 
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions
% are met:
% 1. Redistributions of source code must retain the above copyright
%    notice(s), this list of conditions and the following disclaimer
%    unmodified other than the allowable addition of one or more
%    copyright notices.
% 2. Redistributions in binary form must reproduce the above copyright
%    notice(s), this list of conditions and the following disclaimer in
%    the documentation and/or other materials provided with the
%    distribution.
% 
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
% EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
% IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
% PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE
% LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
% CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
% SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
% BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
% WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
% OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
% EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Version: Onyx 5.1.1
%
% threaddict reference portion of Onyx Manual.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\subsection{threaddict}
\label{sec:threaddict}
\index{threaddict@\onyxop{}{threaddict}{}}

Each thread has its own threaddict, which is not shared with any other threads.
threaddict is meant to be used for thread-specific definitions that would
otherwise go in systemdict.

\begin{longtable}{\optableformat{4.10}}
\caption{threaddict summary}
\\
\hline
\optableent
	{Input(s)}
	{Op/Proc/Var}
	{Output(s)}
	{Description}
\hline \hline
%begin{latexonly}
\endfirsthead
\caption[]{\emph{continued}} \\
\hline
\optableent
	{Input(s)}
	{Op/Proc/Var}
	{Output(s)}
	{Description}
\hline \hline \endhead
\multicolumn{2}{r}{\emph{Continued on next page...}} \endfoot
\hline \endlastfoot
%end{latexonly}
\optableent
	{--}
	{{\bf \htmlref{threaddict}{threaddict:threaddict}}}
	{dict}
	{Get threaddict.}
\hline
\optableent
	{--}
	{{\bf \htmlref{userdict}{threaddict:userdict}}}
	{dict}
	{Get userdict.}
\hline
\optableent
	{--}
	{{\bf \htmlref{currenterror}{threaddict:currenterror}}}
	{dict}
	{Get currenterror.}
\hline
\optableent
	{--}
	{{\bf \htmlref{errordict}{threaddict:errordict}}}
	{dict}
	{Get errordict.}
\end{longtable}

\begin{description}
\label{threaddict:currenterror}
\index{currenterror@\onyxop{}{currenterror}{}}
\item[{\onyxop{--}{currenterror}{dict}}: ]
	\begin{description}\item[]
	\item[Input(s): ] None.
	\item[Output(s): ]
		\begin{description}\item[]
		\item[dict: ]
			The currenterror dictionary.  See
			Section~\ref{sec:currenterror} for details on
			currenterror.
		\end{description}
	\item[Error(s): ] None.
	\item[Description: ]
		Get currenterror.
	\item[Example(s): ]\begin{verbatim}

onyx:0> currenterror 0 sprint
-dict-
onyx:0>
	\end{verbatim}
	\end{description}
\label{threaddict:errordict}
\index{errordict@\onyxop{}{errordict}{}}
\item[{\onyxop{--}{errordict}{dict}}: ]
	\begin{description}\item[]
	\item[Input(s): ] None.
	\item[Output(s): ]
		\begin{description}\item[]
		\item[dict: ]
			The errordict dictionary.  See
			Section~\ref{sec:errordict} for details on errordict.
		\end{description}
	\item[Error(s): ] None.
	\item[Description: ]
		Get errordict.
	\item[Example(s): ]\begin{verbatim}

onyx:0> errordict 0 sprint
-dict-
onyx:0>
		\end{verbatim}
	\end{description}
\label{threaddict:threaddict}
\index{threaddict@\onyxop{}{threaddict}{}}
\item[{\onyxop{--}{threaddict}{dict}}: ]
	\begin{description}\item[]
	\item[Input(s): ] None.
	\item[Output(s): ]
		\begin{description}\item[]
		\item[dict: ]
			The threaddict dictionary.
		\end{description}
	\item[Error(s): ] None.
	\item[Description: ]
		Get threaddict.
	\item[Example(s): ]\begin{verbatim}

onyx:0> threaddict 0 sprint
-dict-
onyx:0>
		\end{verbatim}
	\end{description}
\label{threaddict:userdict}
\index{userdict@\onyxop{}{userdict}{}}
\item[{\onyxop{--}{userdict}{dict}}: ]
	\begin{description}\item[]
	\item[Input(s): ] None.
	\item[Output(s): ]
		\begin{description}\item[]
		\item[dict: ]
			The userdict dictionary.  See
			Section~\ref{sec:userdict} for details on userdict.
		\end{description}
	\item[Error(s): ] None.
	\item[Description: ]
		Get userdict.
	\item[Example(s): ]\begin{verbatim}

onyx:0> userdict 1 sprint
<>
onyx:0>
		\end{verbatim}
	\end{description}
\end{description}
