Re: [fpc-pascal] Strange issue with threads

2009-05-23 Thread Luca Olivetti
En/na Jonas Maebe ha escrit: Is there a hard limit on the number of threads under windows? I'm pretty sure there is one for every OS. If so, why no exception when I try to create more? Because the Windows version of tthread.create does not check for any errors. You can submit a bug report

Re: [fpc-pascal] Strange issue with threads

2009-05-23 Thread Jonas Maebe
On 22 May 2009, at 17:03, Luca Olivetti wrote: While I was testing an unrelated issue, I discovered this: under windows, with fpc 2.2.4, I try to start 1 thread (I know it's absurd but it's just a test) and have all of them linger around for 10 seconds. The thread actually started are 1

[fpc-pascal] Strange issue with threads

2009-05-22 Thread Luca Olivetti
While I was testing an unrelated issue, I discovered this: under windows, with fpc 2.2.4, I try to start 1 thread (I know it's absurd but it's just a test) and have all of them linger around for 10 seconds. The thread actually started are 121. The problem is that no exception is raised, so how