[jboss-cvs] JBoss Messaging SVN: r3781 - projects/jaio/trunk/jaio/native/src.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Feb 24 22:30:05 EST 2008


Author: clebert.suconic at jboss.com
Date: 2008-02-24 22:30:05 -0500 (Sun, 24 Feb 2008)
New Revision: 3781

Modified:
   projects/jaio/trunk/jaio/native/src/AsyncFile.cpp
Log:
Removing unecessary locking

Modified: projects/jaio/trunk/jaio/native/src/AsyncFile.cpp
===================================================================
--- projects/jaio/trunk/jaio/native/src/AsyncFile.cpp	2008-02-25 02:56:03 UTC (rev 3780)
+++ projects/jaio/trunk/jaio/native/src/AsyncFile.cpp	2008-02-25 03:30:05 UTC (rev 3781)
@@ -204,8 +204,6 @@
 	int tries = 0;
 	int result = 0;
 	
-	// I will hold the lock until I'm done here
-	LockClass lock(&fileMutex);
 	while ((result = ::io_submit(aioContext, 1, &iocb)) == (-EAGAIN))
 	{
 #ifdef DEBUG




More information about the jboss-cvs-commits mailing list