Groups | Search | Server Info | Login | Register


Groups > alt.comp.os.windows-xp > #8625

Re: MsgWaitForSingleObject and named pipe. Which event am I getting ?

From "R.Wieser" <address@is.invalid>
Newsgroups comp.os.ms-windows.programmer.win32, alt.comp.os.windows-xp, alt.windows7.general
Subject Re: MsgWaitForSingleObject and named pipe. Which event am I getting ?
Date 2026-03-22 16:01 +0100
Organization A noiseless patient Spider
Message-ID <10pp081$3cedf$1@dont-email.me> (permalink)
References <10pb5jg$2p1vu$1@dont-email.me> <10peobc$1r2t4$1@news.xmission.com> <10pgsfc$nqpq$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


>> HANDLE hConnectEvent = CreateEvent(NULL, TRUE, TRUE, NULL); // Manual 
>> reset
>> HANDLE hReadEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
>
> Any idea why one is created set, and the other not ?  As far as I can see 
> both should be created reset.
>
> Also, any idea why they are (must be?) created as manually-reset events ?

I came across this one today :

https://www.globalnerdy.com/wp-content/uploads/2026/03/652575612_1355710716577270_799259824397935466_n.jpg

I find it rather apropriate.

By the way : My test code using non-manual resetting events, both created as 
not-set seems to work alright.

Regards,
Rudy Wieser

Back to alt.comp.os.windows-xp | Previous | NextPrevious in thread | Find similar


Thread

MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-17 10:06 +0100
  Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? JJ <jj4public@gmail.com> - 2026-03-18 06:50 +0700
    Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-18 07:31 +0100
  Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? legalize+jeeves@mail.xmission.com (Richard) - 2026-03-18 17:45 +0000
    Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-18 21:46 +0100
      Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? malxau <address@is.invalid> - 2026-03-20 05:51 +0000
        Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-20 09:57 +0100
          Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-20 13:28 +0100
      Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? legalize+jeeves@mail.xmission.com (Richard) - 2026-03-23 14:19 +0000
        Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-23 21:44 +0100
          Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? legalize+jeeves@mail.xmission.com (Richard) - 2026-03-27 20:37 +0000
    Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-19 14:07 +0100
      Re: MsgWaitForSingleObject and named pipe.  Which event am I getting ? "R.Wieser" <address@is.invalid> - 2026-03-22 16:01 +0100

csiph-web