mpithreadtest.h
来自「fortran并行计算包」· C头文件 代码 · 共 30 行
H
30 行
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* * * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */#ifndef MPITHREADTEST_H_INCLUDED#define MPITHREADTEST_H_INCLUDED#include "mpitestconf.h"/* Define routines to start a thread for different thread packages. The routine that is started is expected to return data when it exits; the type of this data is MTEST_THREAD_RETURN_TYPE*/#ifdef HAVE_WINDOWS_H#include <windows.h>#define MTEST_THREAD_RETURN_TYPE DWORD#else#include <pthread.h>#define MTEST_THREAD_RETURN_TYPE void *#endifint MTest_Start_thread(MTEST_THREAD_RETURN_TYPE (*fn)(void *p),void *arg);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?