BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi, Threads, Isapi dll's etc.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI
View previous topic :: View next topic  
Author Message
Brian
Guest





PostPosted: Thu Mar 02, 2006 5:03 pm    Post subject: Delphi, Threads, Isapi dll's etc. Reply with quote



Hello all,

I currently have an ISAPI dll in development that has been running
pretty well for about 6 months (with major revisions every once in a
while). Anyhow I'm trying to get a better understanding of the ISAPI
dll, threads, and the threads that each one of those threads spawn.
More importantly, how this affects performance.

I notice that when the DLL is loaded and first called a seperate
DLLHOST process appears in windows server task manager. Right off the
bat it has 40 threads. I assume some of these are worker threads.
However I've never been able to nail down why the thread count is 40.
It may be something elementary to how windows manages threaded
applications but I'm still curious.

Each call to the DLL can spawn up to 6 other threads (which I manage
from within the application). These threads get terminated internally
when they complete. However sometimes we have to terminate the threads
outside the normal thread handler. We find sometimes that when this
happens in frequent succession our application just dies. Basically
what will happen at this point is that it stops actually accepting
connection...yet the thread count in the task manager increases as does
the memory used. At this point I can only kill the process and reload
the DLL. Again this doesn't happen often but enough to make me want to
figure out why.

Could someone point me in the direction of a good resource where I
could read up on threads in ISAPI dll's etc?

Thanks in advance
-Brian
Back to top
Riki Wiki
Guest





PostPosted: Sun Mar 05, 2006 6:03 am    Post subject: Re: Delphi, Threads, Isapi dll's etc. Reply with quote



On 2 Mar 2006 08:18:26 -0800, Brian wrote:

Quote:
Could someone point me in the direction of a good resource where I
could read up on threads in ISAPI dll's etc?

Hoi Brian

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this news
group do not officially exist, the group to use is
b.p.d.internet.isapi-webbroker.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.