Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: Thread, blocking socket

www.cryer.info
Managed Newsgroup Archive

Re: Thread, blocking socket

Subject:Re: Thread, blocking socket
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Sat, 30 Dec 2006 21:01:03

"Richard Carpenter" <richardc@richardj.demon.co.uk> wrote in message
news:en6qm5$230$1$8300dec7@news.demon.co.uk...

> That certainly clarifies it - thank you. I had, wrongly, assumed
that it was
> the thread performing the SendData when, as you pointed out, it's
the main
> thread doing the work.

The debugger always displays the current thread that is actually
running.  When a task switch occurs, such as when one thread begins an
operation while another thread is blocked in a waiting state, the
debugger reacts accordingly.  It can be quite annoying at times when
trying to debug multi-threaded applications.

> Should I be worried about my main thread "dipping" into a method of
> the thread object

No.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive