🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5165

Re: Timeout for TClientServer in ctBlocking ...

#5165
From: Remy Lebeau (TeamB)
Date: Tue, 12 Oct 2004 18:00
18 lines
1452 bytes
"Vladimir Stefanovic" <spam@not.needed> wrote in message
news:416c09ff@newsgroups.borland.com...

> Ok. But can you explane why TTimer is also
> stuck when mode is ctBlocking.

TTimer is message-based.  If you are setting the Active property in the
context of the main thread, the message queue is blocked while the Active
property is working.

> I thought that TTimer has also a separete thread?

No, it does not.  If you want a threaded timer, then look at multimedia
timers instead.


Gambit
Technical Details
Message-ID: <416c1c8e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <416bede7@newsgroups.borland.com> <416c06f0$3@newsgroups.borland.com> <416c09ff@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,230ad6ee6657e1fc
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <416bede7@newsgroups.borland.com> <416c06f0$3@newsgroups.borland.com> <416c09ff@newsgroups.borland.com>
Subject: Re: Timeout for TClientServer in ctBlocking ...
Date: Tue, 12 Oct 2004 11:00:52 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <416c1c8e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097604238 68.69.17.41 (12 Oct 2004 11:03:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail