🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Callback mechanics

#5956
From: AlexB
Date: Wed, 22 Jun 2005 07:45
14 lines
1607 bytes
Remy Lebeau (TeamB) wrote:
> "AlexB" <b.a.v@inbox.ru> wrote in message
>>// main thread, multimedia timer
>>mmt=timeSetEvent(
> 
> A multimedia timer is essentially just a worker thread that calls the
> callback function in a loop.

As I understand, in this case callback works in context of another 
thread, right? Hence here I have to care about multithreading.

Thank you for explanation.

Alex.
Technical Details
Message-ID: <42b916e4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42b7fc1d$1@newsgroups.borland.com> <42b84cd0$1@newsgroups.borland.com> <42b8e174$1@newsgroups.borland.com> <42b90490@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bcabb6910c82b605
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 22 Jun 2005 14:45:31 +0700
From: AlexB <b.a.v@inbox.ru>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: ru, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Callback mechanics
References: <42b7fc1d$1@newsgroups.borland.com> <42b84cd0$1@newsgroups.borland.com> <42b8e174$1@newsgroups.borland.com> <42b90490@newsgroups.borland.com>
In-Reply-To: <42b90490@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.192.185.54
Message-ID: <42b916e4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119426276 212.192.185.54 (22 Jun 2005 00:44:36 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail