The following patch corrects a defect that prevents chuck from receiving TCP commands on Windows 98. chuck_main.cpp 505c505,511 < g_tid = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)otf_cb, NULL, 0, 0); ---
// [rd] pThreadID parameter is not optional on lesser win9x. DWORD dwThreadID; g_tid = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)otf_cb,
NULL, 0, &dwThreadID);
if (g_tid == NULL) { fprintf( stderr, "[chuck]: cannot spawn tcp listener
thread\n");
}
Thanks Robin! This will be included in 1.2.0.1. Best, Ge! On Aug 28, 2005, at 1:54 AM, Robin Davies wrote:
The following patch corrects a defect that prevents chuck from receiving TCP commands on Windows 98.
chuck_main.cpp 505c505,511 < g_tid = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)otf_cb, NULL, 0, 0); ---
// [rd] pThreadID parameter is not optional on lesser win9x. DWORD dwThreadID; g_tid = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)otf_cb,
NULL, 0, &dwThreadID);
if (g_tid == NULL) { fprintf( stderr, "[chuck]: cannot spawn tcp listener
thread\n");
}
_______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
participants (2)
-
Ge Wang
-
Robin Davies