Re: [fpc-pascal] CloseThread needed? still unclear

2011-12-11 Thread noreply
I wrote: I think I found some documentation that still doesn't include CloseThread in the examples.. I will send patches or recommendations to the documentation soon. For example closethread is now documented as a function, but some of the other pages that show threading examples just use

Re: [fpc-pascal] CloseThread needed? still unclear

2011-12-09 Thread noreply
On 28.11.2011 21:25, nore...@z505.com wrote: Am 14.11.2011 02:32, schrieb nore...@z505.com: First I thought I would post this to the mailing list to ask you what the proper way to program with threads is. If we must call closethread on MS Win machines but not unix machines, then something

Re: [fpc-pascal] CloseThread needed? still unclear

2011-11-28 Thread noreply
Am 14.11.2011 02:32, schrieb nore...@z505.com: First I thought I would post this to the mailing list to ask you what the proper way to program with threads is. If we must call closethread on MS Win machines but not unix machines, then something needs to change to make the threading in the

Re: [fpc-pascal] CloseThread needed? still unclear

2011-11-28 Thread Sven Barth
On 28.11.2011 21:25, nore...@z505.com wrote: Am 14.11.2011 02:32, schrieb nore...@z505.com: First I thought I would post this to the mailing list to ask you what the proper way to program with threads is. If we must call closethread on MS Win machines but not unix machines, then something needs

Re: [fpc-pascal] CloseThread needed? still unclear

2011-11-15 Thread Sven Barth
Am 14.11.2011 02:32, schrieb nore...@z505.com: First I thought I would post this to the mailing list to ask you what the proper way to program with threads is. If we must call closethread on MS Win machines but not unix machines, then something needs to change to make the threading in the RTL

[fpc-pascal] CloseThread needed? still unclear

2011-11-14 Thread noreply
While testing an updated version of nYume (aservia) I found that the program is leaking thread handles on Ms Windows. The program uses BeginThread and EndThread calls. However, when I add CloseThread() right before EndThread(, the program no longer leaks handles. So, CloseThread may be needed on