[Pvfs2-cvs] commit by slang in pvfs2/src/io/job: thread-mgr.c
CVS commit program
cvs at parl.clemson.edu
Wed Nov 22 16:58:12 EST 2006
Update of /projects/cvsroot/pvfs2/src/io/job
In directory parlweb1:/tmp/cvs-serv18634/src/io/job
Modified Files:
Tag: pvfs-2-6-branch
thread-mgr.c
Log Message:
merge jazz fix from trunk
Index: thread-mgr.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/thread-mgr.c,v
diff -p -u -r1.32.8.1 -r1.32.8.2
--- thread-mgr.c 16 Nov 2006 22:54:25 -0000 1.32.8.1
+++ thread-mgr.c 22 Nov 2006 21:58:12 -0000 1.32.8.2
@@ -406,6 +406,9 @@ int PINT_thread_mgr_trove_start(void)
return(ret);
}
#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)
{
@@ -420,9 +423,6 @@ int PINT_thread_mgr_trove_start(void)
ret = 0;
assert(0);
#endif /* PVFS2_TROVE_SUPPORT */
-
- trove_thread_running = 1;
- trove_thread_ref_count++;
gen_mutex_unlock(&trove_mutex);
return(0);
More information about the Pvfs2-cvs
mailing list