delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/08/14:47:49

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Envelope-To: cgf AT cygnus DOT com
Sender: root AT exmachina DOT net
Message-ID: <36BEF894.F22D1AA3@exmachina.net>
Date: Mon, 08 Feb 1999 15:45:40 +0100
From: John Mullee <john AT exmachina DOT net>
Organization: Ex Machine Interactive Architects
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.32 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: jmm AT raleigh DOT ibm DOT com, Cygnus32 <gnu-win32 AT cygnus DOT com>, cgf AT cygnus DOT com
Subject: Re: pid problem found
References: <199902081430 DOT JAA25094 AT jmm DOT raleigh DOT ibm DOT com>

> (most likely moving to the Win32 event stuff, I'd guess, though all the
> examples that I've seen do explicit checks for incoming messages in the
> code and not something as simple as installing a handler to print one
> integer and exit.

have a look at the WaitForSingleObject and WaitForMultipleObjects api
calls.
The can accept, among other handles, event handles:
  CreateEvent OpenEvent SetEvent PulseEvent ResetEvent CloseHandle
as well as process, thread, semephore, mutex, conio and various
file-change 
system message handles.
If you'd _really_ prefer to have wrappers that isolate you from all the
OS
dependant low-level bits, think about visiting ACE at:
http://www.cs.wustl.edu/~schmidt/ or news://comp.soft-sys.ace

BTW wow, the new maillist software! realtime!

john

--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019