🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15356

Re: SetEventTimer routine holds TThread task?

#15356
From: Phuoc Can HUA
Date: Mon, 07 Jul 2003 06:07
33 lines
1948 bytes
On Sun, 6 Jul 2003 18:53:06 -0700, Remy Lebeau (TeamB) <gambit47@yahoo.com> 
wrote:

>
> "Phuoc Can HUA" <home}a+t{huaonline.com> wrote in message
> news:oprrwu2pcgbq7az6@newsgroups.borland.com...
> There is no setEventTimer() function.  Are you referring to 
> timeSetEvent()
> instead?
Opps sorry, it was my mistake :-)

> If you are, in fact, refering to timeSetEvent(), than it runs in its own
> thread, not in the TThread at all.
Do the timer routine and TThread sharing the CPU? because it seems to me 
that the TThread is put on hold while the timer routine is being executed.


>> - Any other solution?
>
> Please show your actual code.  What does your thread actually do?  What 
> does
> your timer actually do?
Unfortunate, I haven't got the source codes here. But will post the details 
later. Also need to add some more comments in my codes  :-)

thanks
Phuoc


-- 
_/\__/\__/\__/\__/\__/\_
www.huaonline.com
My Homepage is my Castle
Technical Details
Message-ID: <oprrxfa6dpbq7az6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <oprrwu2pcgbq7az6@newsgroups.borland.com> <3f08d164@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a436a021eb0521f3
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-06 23:39:19 PST
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: SetEventTimer routine holds TThread task?
References: <oprrwu2pcgbq7az6@newsgroups.borland.com> <3f08d164@newsgroups.borland.com>
Message-ID: <oprrxfa6dpbq7az6@newsgroups.borland.com>
Content-Type: text/plain; charset=iso-8859-15; format=flowed
From: Phuoc Can HUA <home}a+t{huaonline.com>
MIME-Version: 1.0
Date: Mon, 07 Jul 2003 16:07:44 +1000
User-Agent: Opera7.10/Win32 M2 build 2840
NNTP-Posting-Host: 210.9.89.210
X-Trace: newsgroups.borland.com 1057558251 210.9.89.210 (6 Jul 2003 23:10:51 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail