List Info

Thread: RE: max number of threads




RE: max number of threads
country flaguser name
United States
2007-05-10 08:56:32


hello,
i think that the problem is not related with the number but with what you do
inside each thread

best regards,

Joćo Carlos

-----Mensagem original-----
De: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com [mailto: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com] Em nome de
Andries Bos
Enviada: quinta-feira, 10 de Maio de 2007 14:43
Para: delphi advanced group
Assunto: [delphi-en] max number of threads

Hello

Is there a maximum number of threads that one could use within one single
appl? I encountered some problems when I created a lot of threads (about 25).

I solved my problems already by working without a thread, but wondered if
there is any limitation within delphi appl or even within the Windows OS.

Regards

Andries

The netherlands

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com <http://mail.yahoo.com>

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
Re: max number of threads
country flaguser name
United States
2007-05-10 10:57:29

Joao Carlos wrote:
&gt; Is there a maximum number of threads that one could use within one single
&gt; appl? I encountered some problems when I created a lot of threads (about 25).

That's not very many threads, as far as the OS is concerned. It's
probably more than you need, though.

> I solved my problems already by working without a thread, but wondered if
> there is any limitation within delphi appl or even within the Windows OS.

Two articles to read:

Does Windows have a limit of 2000 threads per process?
http://blogs.msdn.com/oldnewthing/archive/2005/07/29/444912.aspx

On the unanswerability of the maximum number of user interface objects a
program can create
http://blogs.msdn.com/oldnewthing/archive/2006/09/01/735298.aspx

--
Rob

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )