[chuck-dev] Threading problems w/ win98
Ge Wang
gewang at CS.Princeton.EDU
Sun Aug 28 04:58:32 EDT 2005
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 at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
More information about the chuck-dev
mailing list