🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Max threads per process

#15542
From: Remy Lebeau (TeamB)
Date: Tue, 24 Jun 2003 18:03
20 lines
1746 bytes
"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: <3ef8918f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ef82ffb@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-24 11:23:03 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ef82ffb@newsgroups.borland.com>
Subject: Re: Max threads per process
Date: Tue, 24 Jun 2003 11:03:45 -0700
Lines: 22
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: 207.175.226.26
Message-ID: <3ef8918f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056477583 207.175.226.26 (24 Jun 2003 10:59:43 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail