⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smpd_implthread.h

📁 fortran并行计算包
💻 H
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. *//* This header file contains utils for SMPD to access the MPID util functions  *  *correctly* *//* FIXME: SMPD internally calls the utils defined for the MPID device  * eg: MPIDU_Sock_wait() -- Remove this dependency by copying the required * socket code to smpd */#include "mpiimpl.h"#include "mpiimplthread.h"/* Macros to be used before/after calling any MPID util funcs,  * eg: MPIDU_Sock_wait(). * Since SMPD is single threaded we do not need extra functionalities * provided by the MPID_CS_ENTER() macros */#if !defined(MPICH_IS_THREADED)    #define SMPD_CS_ENTER()    #define SMPD_CS_EXIT()#else    #define SMPD_CS_ENTER() \	MPID_Thread_mutex_lock(&MPIR_ThreadInfo.global_mutex)    #define SMPD_CS_EXIT()  \	MPID_Thread_mutex_unlock(&MPIR_ThreadInfo.global_mutex)#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -