version 1.9, 2000/01/17 00:48:06 |
version 1.10, 2000/01/17 01:24:27 |
|
|
% $OpenXM: OpenXM/doc/issac2000/openxm-clients.tex,v 1.8 2000/01/16 10:58:19 takayama Exp $ |
% $OpenXM: OpenXM/doc/issac2000/openxm-clients.tex,v 1.9 2000/01/17 00:48:06 takayama Exp $ |
|
|
\section{OpenXM Clients} |
\section{OpenXM Clients} |
|
|
Line 28 are provided to execute these primitive operations: |
|
Line 28 are provided to execute these primitive operations: |
|
{\tt ox\_push\_cmd()} for sending an {\tt SM} command to a server |
{\tt ox\_push\_cmd()} for sending an {\tt SM} command to a server |
and {\tt ox\_get()} for receiving data from a stream. |
and {\tt ox\_get()} for receiving data from a stream. |
|
|
Some operations including the reset operation are realized by |
Some operations including the reset operation are implemented by |
combining these primitives. Among them, frequently used ones are |
combining these primitives. Among them, frequently used ones are |
provided as built-in functions. We show several ones. |
provided as built-in functions. We show some of them. |
|
|
\begin{itemize} |
\begin{itemize} |
\item {\tt ox\_pop\_cmo()} |
\item {\tt ox\_pop\_cmo()} |
Line 49 the function. It does not wait the termination of the |
|
Line 49 the function. It does not wait the termination of the |
|
After sending {\tt SM\_control\_reset\_connection} to a control server, |
After sending {\tt SM\_control\_reset\_connection} to a control server, |
it completes the operations stated in Section \ref{control}. |
it completes the operations stated in Section \ref{control}. |
\end{itemize} |
\end{itemize} |
Furthermore {\tt ox\_select()} is provided to detect streams ready for |
Furthermore {\tt ox\_select()} is provided to detect if streams are ready for |
reading. It is realized by the {\tt select()} system call and is used |
reading. It is implemented by the {\tt select()} system call and is used |
to avoid blocking on read operations. |
to avoid blocking on read operations. |
|
|
\subsection{Mathematica} |
\subsection{Mathematica} |