[Pvfs2-cvs] commit by pw in pvfs2/src/io/job: thread-mgr.c
CVS commit program
cvs at parl.clemson.edu
Tue Dec 5 15:38:25 EST 2006
Update of /projects/cvsroot/pvfs2/src/io/job
In directory parlweb1:/tmp/cvs-serv30906/src/io/job
Modified Files:
thread-mgr.c
Log Message:
fixes for no __PVFS2_JOB_THREADED__
Index: thread-mgr.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/thread-mgr.c,v
diff -u -p -p -u -r1.34 -r1.35
--- thread-mgr.c 22 Nov 2006 21:56:06 -0000 1.34
+++ thread-mgr.c 5 Dec 2006 20:38:25 -0000 1.35
@@ -405,10 +405,10 @@ int PINT_thread_mgr_trove_start(void)
gen_mutex_unlock(&trove_mutex);
return(ret);
}
+
+ trove_thread_ref_count++;
#ifdef __PVFS2_JOB_THREADED__
trove_thread_running = 1;
- trove_thread_ref_count++;
-
ret = pthread_create(&trove_thread_id, NULL, trove_thread_function, NULL);
if(ret != 0)
{
More information about the Pvfs2-cvs
mailing list