示例#1
0
文件: gmxfio.c 项目: yhalcyon/Gromacs
/* lock the mutex associated with this fio. This needs to be done for every
   type of access to the fio's elements. */
void gmx_fio_lock(t_fileio *fio)
{
#ifdef GMX_THREAD_MPI
    tMPI_Lock_lock(&(fio->mtx));
#endif
}
示例#2
0
/* lock the mutex associated with this fio. This needs to be done for every
   type of access to the fio's elements. */
void gmx_fio_lock(t_fileio *fio)
{
    tMPI_Lock_lock(&(fio->mtx));
}