[or-cvs] add function comment

Roger Dingledine arma at seul.org
Thu Apr 7 20:07:37 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	cpuworker.c 
Log Message:
add function comment


Index: cpuworker.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/cpuworker.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- cpuworker.c	7 Apr 2005 20:02:00 -0000	1.73
+++ cpuworker.c	7 Apr 2005 20:07:34 -0000	1.74
@@ -358,6 +358,10 @@
 
 #define CPUWORKER_BUSY_TIMEOUT 100 /* seconds */
 
+/** We have a bug that I can't find. Sometimes, very rarely, cpuworkers
+ * get stuck in the 'busy' state, even though the cpuworker process
+ * thinks of itself as idle. I don't know why. But here's a workaround
+ * to kill any cpuworker that's been busy for more than 100 seconds. */
 static void
 cull_wedged_cpuworkers(void) {
   connection_t **carray;



More information about the tor-commits mailing list