Commit b143cee1 authored by Huihuo Zheng's avatar Huihuo Zheng
Browse files

fixed sync error

parent 55b4ca32
......@@ -1248,7 +1248,6 @@ void *H5Dwrite_pthread_func_vol(void *arg) {
//while(!acquired)
//H5TSmutex_acquire(&acquired);
if (wmm->mpi.rank== io_node() && debug_level()>1) printf("pthread: acquired global mutex\n");
sleep(1);
H5VLrestore_lib_state(task->h5_state);
void **req;
#ifdef THETA
......@@ -1265,7 +1264,6 @@ void *H5Dwrite_pthread_func_vol(void *arg) {
task->file_space_id, task->xfer_plist_id,
task->buf, req);
#endif
if (wmm->mpi.rank==io_node() && debug_level()>1) printf("pthread: I/O task %d is done!\n", task->id);
munmap(task->buf, task->size);
H5Sclose(task->mem_space_id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment