Article View: borland.public.cppbuilder.nativeapi
Article #6933Re: Wait a signal from another application or thread
From: Remy Lebeau (TeamB)
Date: Thu, 24 Mar 2005 19:50
Date: Thu, 24 Mar 2005 19:50
12 lines
1262 bytes
1262 bytes
<Rieve Tulox> wrote in message news:4242e142$2@newsgroups.borland.com... > How can we implement this "wait" logic? Can you give some examples? Have each thread call CreateEvent(), giving the event object a unique name string. Have the Controller call OpenEvent() using the same name string. Then the threads can use WaitForSingleObject() to wait for the event to be signalled. Gambit
Technical Details
Message-ID:
<42431baf$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4242e142$2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ff95df89dd87ac92 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: <4242e142$2@newsgroups.borland.com> Subject: Re: Wait a signal from another application or thread Date: Thu, 24 Mar 2005 11:50:44 -0800 Lines: 14 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: <42431baf$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111694255 68.69.17.41 (24 Mar 2005 11:57:35 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail