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

fixed some palce

parent acf053ec
......@@ -1530,17 +1530,20 @@ H5VL_pass_through_ext_dataset_close(void *dset, hid_t dxpl_id, void **req)
#ifdef ENABLE_EXT_PASSTHRU_LOGGING
printf("------- EXT PASS THROUGH VOL DATASET Close\n");
#endif
H5TSmutex_release();
if (o->write_cache) {
H5TSmutex_release();
pthread_mutex_lock(&o->H5DWMM->io.request_lock);
while(o->num_request_dataset>0) {
pthread_cond_signal(&o->H5DWMM->io.io_cond);
pthread_cond_wait(&o->H5DWMM->io.master_cond, &o->H5DWMM->io.request_lock);
}
pthread_mutex_unlock(&o->H5DWMM->io.request_lock);
hbool_t acq=false;
while(!acq)
H5TSmutex_acquire(&acq);
}
hbool_t acq;
H5TSmutex_acquire(&acq);
ret_value = H5VLdataset_close(o->under_object, o->under_vol_id, dxpl_id, req);
/* Check for async request */
......
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