[vhffs-dev] [932] Oops..

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 932
Author:   gradator
Date:     2007-09-20 21:24:50 +0000 (Thu, 20 Sep 2007)

Log Message:
-----------
Oops..

Modified Paths:
--------------
    trunk/vhffs-fs/vhffsfs.c


Modified: trunk/vhffs-fs/vhffsfs.c
===================================================================
--- trunk/vhffs-fs/vhffsfs.c	2007-09-20 21:18:20 UTC (rev 931)
+++ trunk/vhffs-fs/vhffsfs.c	2007-09-20 21:24:50 UTC (rev 932)
@@ -224,7 +224,7 @@
 	GPtrArray *keys;
 	int i;
 
-	//sleep(VHFFSFS_CACHE_QUERY_FLUSH_EVERY);
+	sleep(VHFFSFS_CACHE_QUERY_FLUSH_EVERY);
 
 	keys = g_ptr_array_sized_new(4096);
 
@@ -238,7 +238,7 @@
 	vhffsfs_cache_unlock();
 
 	// sleep a bit to not lock the cache too much
-	//sleep(1);
+	sleep(1);
 
 	for(i = 0 ; i < keys->len ; i++)  {
 		char *query = keys->pdata[i];
@@ -257,7 +257,7 @@
 
 		free(query);
 		//sleep a bit to not lock the cache too much
-		//usleep(100000);
+		usleep(100000);
 	}
 
 	g_ptr_array_free(keys, TRUE);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/