[plt-scheme] SrPersist documentation

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Thu Jul 20 15:48:38 EDT 2006

Thanks, I'll fix this in the next release.

Chris Warrington schreef:
> Hans Oesterholt-Dijkema @ 2006-7-18 2:11:28 AM
> "[plt-scheme] SrPersist documentation" <mid:44BC7B90.3010709 at gawab.com>
>
>   
>> I hope these examples help...
>>     
>
> Thanks for the code. I've only given it a cursory look. So far, it
> seems doable, once I look over the C-Scheme boundry a bit more.
>
> I did notice one thing though:
> c-threads.c looks like it leaks thread handles on Windows. This code:
>
> int c_thread_join(t_c_thread_id h)
> { 
>   int result;
>   t_c_thread_win32 *H=(t_c_thread_win32 *) h;
>   WaitForSingleObject(H->handle,INFINITE);
>   result=H->result;
>   free(H);
>   return result;
> }
>
> should have a CloseHandle(H->handle) right before the free(H).
>
>   



Posted on the users mailing list.