From: rdparker AT butlermfg DOT org (Parker, Ron) Subject: RE: New patch 22 Apr 1998 08:51:34 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BD6DDC.01EEC5A0" To: Sergey Okhapkin , "'Gnu-Win32'" Cc: "'cygwin32-developers AT cygnus DOT com'" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_000_01BD6DDC.01EEC5A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit No we don't really need it. I was wondering why you implemented this in the first place. Using select() explains it all. I agree that PeekMessage should be used. I thought you were trying to replace the entire message loop functionality with a UNIX like interface. (^8 -----Original Message----- From: Sergey Okhapkin [mailto:sos AT buggy DOT prospect DOT com DOT ru] Sent: Wednesday, April 22, 1998 9:47 AM To: 'Gnu-Win32'; 'Parker, Ron' Cc: 'cygwin32-developers AT cygnus DOT com' Subject: RE: New patch Parker, Ron wrote: > It there a method to check for content on the queue, like PeekMessage? > Would it make sense to have one? > Do we really need it? Just call PeekMessage() :-) The main goal of my patch is to provide working select() on a mix of handles and message queue, it's really neccessary to compile GDI version of Xemacs with cygwin. Anyway, it's easy to implement a read() call without removing a message from the queue, have you any suggestions how to control the behavior of read() call? -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia ------ =_NextPart_000_01BD6DDC.01EEC5A0 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ig0PAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQmAAQAhAAAAOERBMTMwM0I0QUQ5RDExMThBQzAwMDYwMDhDNzcx MjkA9gYBIIADAA4AAADOBwQAFgAKAC8ACwADADYBAQWAAwAOAAAAzgcEABYACgAtACUAAwBOAQEN gAQAAgAAAAIAAgABBIABAA4AAABSRTogTmV3IHBhdGNoAEsEAQOQBgCECAAAKwAAAAsAAgABAAAA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