|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Brian Muth (bmuth
SWI.COM)Date: Tue Oct 30 2001 - 00:29:27 CST
The thread must be made responsible for its own shutdown. This means
either the thread itself determines the timeout, or the thread is
signaled externally, such as through a raised event.
You must avoid TerminateThread.
It's hard to be more specific without knowing more about your design.
Brian
> -----Original Message-----
> From: Jayant Bichhal [mailto:jayant_bichhal
HOTMAIL.COM]
> Sent: Monday, October 29, 2001 9:31 PM
> To: DCOM
DISCUSS.MICROSOFT.COM
> Subject: Thread should be killed after timeout......
>
>
> hi all,
> i discussed this problem with you guys earlier also.....but i could'nt
> break any ice...i still need some guidance of you....
>
> i have made an activex exe server in VB6,with the thread pool
> ON.Now i want
> to kill any thread (basically after checking for its timeout).I used
> terminate thread(...AGAINST my will...),but it is raising problems.
>
> please help....
>
> cheers
> jayant
>
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]