🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15556

Re: Max threads per process

#15556
From: Tharun Pillay
Date: Wed, 25 Jun 2003 13:25
27 lines
2000 bytes
Sure - as per the docs. What's your opinion on the rest of my post?

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3ef8918f$1@newsgroups.borland.com...
>
> "Tharun Pillay" <tharun@webmail.co.za> wrote in message
> news:3ef82ffb@newsgroups.borland.com...
> > I read somewhere that M$ don't recommend running more than
> > 16 threads per process. Does this still stand up in times where
> > we have P4 desktop computers running at 2Ghz?
>
> My company's software has been running with potentially 100+ threads at a
> time for years without any problems.  Of course, most of the threads are
> sleeping at the time, though, waiting for data from hardware, but still,
> there are 100+ threads allocated and active at a time.
>
> > I wrote a thread pooling class, only to find that theres an API
> > QueueUserWorkItem.
>
> It should be noted that QueueUserWorkItem() only exists under Win2k, XP,
and
> 2003 Server
>
>
> Gambit
>
>
Technical Details
Message-ID: <3ef9a1ce@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ef82ffb@newsgroups.borland.com> <3ef8918f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,83d1a17fcdc9ac73
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-25 06:35:13 PST
From: "Tharun Pillay" <tharun@webmail.co.za>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ef82ffb@newsgroups.borland.com> <3ef8918f$1@newsgroups.borland.com>
Subject: Re: Max threads per process
Date: Wed, 25 Jun 2003 15:25:11 +0200
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 196.15.202.200
Message-ID: <3ef9a1ce@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056547278 196.15.202.200 (25 Jun 2003 06:21:18 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail