[netperf-dev] netperf4 commit notice r162 -
branches/glib_migration/src
raj at netperf.org
raj at netperf.org
Mon Apr 17 17:29:18 PDT 2006
Author: raj
Date: 2006-04-17 17:29:17 -0700 (Mon, 17 Apr 2006)
New Revision: 162
Modified:
branches/glib_migration/src/netserver.c
Log:
Silly programmer, the function you pass to g_timeout_add() is supposed
to be a gboolean returning TRUE to be called again, and FALSE when not
and if you declare it a void Knuth only knows what the return value
will be. This was precluding successful runs on 64-bit IA64 Linux.
Modified: branches/glib_migration/src/netserver.c
===================================================================
--- branches/glib_migration/src/netserver.c 2006-04-18 00:00:49 UTC (rev 161)
+++ branches/glib_migration/src/netserver.c 2006-04-18 00:29:17 UTC (rev 162)
@@ -571,7 +571,7 @@
one day get this set such that state change notification was
immediate... raj 2006-03-23 */
-static void
+static gboolean
check_test_state_callback(gpointer data)
{
int i;
@@ -670,6 +670,8 @@
/* mutex unlocking is not required because only one
netserver thread looks at these data structures sgb */
}
+ NETPERF_DEBUG_EXIT(debug,where);
+ return(TRUE);
}
More information about the netperf-dev
mailing list