File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ hdfs_activate(void)
258258 globus_gfs_log_message (GLOBUS_GFS_LOG_ERR , "Unable to initialize global mutex" );
259259 return 1 ;
260260 }
261- g_thread_id = -1 ;
261+ g_thread_id = 0 ;
262262 g_thread_pipe_fd = -1 ;
263263
264264 globus_extension_registry_add (
@@ -286,12 +286,12 @@ hdfs_deactivate(void)
286286 }
287287 void * retval ;
288288 pthread_join (g_thread_id , & retval );
289- g_thread_id = -1 ;
289+ g_thread_id = 0 ;
290290 g_thread_pipe_fd = -1 ;
291291 }
292292
293293 globus_mutex_destroy (& g_hdfs_mutex );
294- g_thread_id = -1 ;
294+ g_thread_id = 0 ;
295295 g_thread_pipe_fd = -1 ;
296296
297297 globus_extension_registry_remove (
@@ -803,7 +803,7 @@ set_close_done(
803803 }
804804 void * retval ;
805805 pthread_join (g_thread_id , & retval );
806- g_thread_id = -1 ;
806+ g_thread_id = 0 ;
807807 g_thread_pipe_fd = -1 ;
808808 }
809809}
You can’t perform that action at this time.
0 commit comments