Re: Controlling Threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You cannot control number of threads. There is a growing pool
of threads and they have various tasks assigned. Just when a new
request is to be processed (like a new call is being established),
an idle thread is selected from the pool and returned back, when the job is finished.

----- Original Message ----- 
From: "Edson" <4lists@xxxxxxxxx>
Sent: Wednesday, July 26, 2006 7:35 PM


> I'm using version 2.2.3-2 and if I define TRACE on 5, I see:
>  "job.cxx(404)   JOB     Worker threads: 14 total - 8 busy, 6 idle"
> 
> On "changes.txt" I see for version 2.0.3:
>  - change 'ifdef PTRACING' to 'if PTRACING' since it is always defined
> 
> But how to control/define the min and max number of threads?
> And how to find why is determinated thread busy? What are they 'waiting
> for'? Is there some TRACE level where this is showed?
> 
> Edson.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux