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

📄 gthread.c

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻 C
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//*  $Id: gthread.c,v 1.3 2002/02/13 16:45:11 gropp Exp $ * *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#include "mpiimpl.h"/* To simplify this file: rather than embed each possible thread library in    this single file, it should include a separate file for each thread type,   such as pthread.c, winthread.c, etc., where these files implement the   necessary thread functions.  This still needs to be done.   If an include file is needed by other routines (e.g., it is needed by    mpiimpl.h), it should be copied to the src/include directory by the    top-level configure.*//* General thread support */#if defined(HAVE_PTHREAD_CREATE)pthread_key_t MPID_GetThreadKey( void ){    pthread_key_t key;    pthread_key_create( &key, 0 );    return key;}pthread_t MPID_GetThreadId( void ){    return pthread_self();}#elif defined(HAVE_THR_CREATE)#endif

⌨️ 快捷键说明

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