🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Callback mechanics

#5882
From: Remy Lebeau (TeamB)
Date: Thu, 23 Jun 2005 00:12
14 lines
1670 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:0onjb1p2fctcpl99v31t3d66pkdfmonpvb@4ax.com...

> Or even different callback functions for different threads.

If you have a single callback function, and multiple threads call
EnumWindows (for instance) with that same callback function, then that
callback function can be called multiple times at the same time by different
threads.  Callback functions are global, they are not tied to individual
threads.  They are executed by threads, though.


Gambit
Technical Details
Message-ID: <42b9fe70$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42b7fc1d$1@newsgroups.borland.com> <42b84cd0$1@newsgroups.borland.com> <k60hb19l3b2jr36alinqvjlqkqgsrecd3j@4ax.com> <42b903e1$1@newsgroups.borland.com> <vcrib197a9l8hpe8flhmrf2b8ae0m5mdu9@4ax.com> <42b9c05a$1@newsgroups.borland.com> <0onjb1p2fctcpl99v31t3d66pkdfmonpvb@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bcabb6910c82b605
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42b7fc1d$1@newsgroups.borland.com> <42b84cd0$1@newsgroups.borland.com> <k60hb19l3b2jr36alinqvjlqkqgsrecd3j@4ax.com> <42b903e1$1@newsgroups.borland.com> <vcrib197a9l8hpe8flhmrf2b8ae0m5mdu9@4ax.com> <42b9c05a$1@newsgroups.borland.com> <0onjb1p2fctcpl99v31t3d66pkdfmonpvb@4ax.com>
Subject: Re: Callback mechanics
Date: Wed, 22 Jun 2005 17:12:32 -0700
Lines: 16
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: <42b9fe70$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119485552 68.69.17.41 (22 Jun 2005 17:12:32 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail