📄 mpid_max_thread_level.tex
字号:
\startmanpage\mantitle{MPID{\tt \char`\_}MAX{\tt \char`\_}THREAD{\tt \char`\_}LEVEL}{tex}{10/7/2002}\manname{MPID{\tt \char`\_}MAX{\tt \char`\_}THREAD{\tt \char`\_}LEVEL}--- Indicates the maximum level of thread support provided at compile time. \subhead{Values}Any of the {\tt MPI{\tt \char`\_}THREAD{\tt \char`\_}xxx} values (these are preprocessor-time constants)\par\subhead{Notes}The macro {\tt MPID{\tt \char`\_}MAX{\tt \char`\_}THREAD{\tt \char`\_}LEVEL} defines the maximum level ofthread support provided, and may be used at compile time to removethread locks and other code needed only in a multithreaded environment.\parA typical use is\begin{verbatim} #if MPID_MAX_THREAD_LEVEL >= MPI_THREAD_MULTIPLE lock((r)->lock_ptr); (r)->ref_count++; unlock((r)->lock_ptr); #else (r)->ref_count ++; #fi\end{verbatim}\par\subhead{Module}Environment-DS\endmanpage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -