delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/22/06:21:55

From: rdparker AT butlermfg DOT org (Parker, Ron)
Subject: RE: New patch
22 Apr 1998 06:21:55 -0700 :
Message-ID: <c=US%a=_%p=Butler_Manufactu%l=BUILDINGS/BLDGSHUB/0009DF05.cygnus.cygwin32.developers@nttwr2.tower.bldgs.butlermfg.org>
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>,
"'Gnu-Win32'"
<gnu-win32 AT cygnus DOT com>
Cc: "'cygwin32-developers AT cygnus DOT com'" <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_01BD6DC7.0FA5DE50
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

It there a method to check for content on the queue, like PeekMessage? 
 Would it make sense to have one?

-----Original Message-----
From: Sergey Okhapkin [mailto:sos AT prospect DOT com DOT ru]
Sent: Wednesday, April 22, 1998 1:43 AM
To: 'Gnu-Win32'
Cc: 'cygwin32-developers AT cygnus DOT com'
Subject: New patch


windows.diff

- /dev/windows device implementation - an access to windows message 
queue with unix-style calls.


The following unix-style calls are supported:

	open ("/dev/windows", flags, mode=0)
		- create a unix fd for message queue.
		  O_NONBLOCK flag controls the read() call behavior.

	read (fd, buf, len)
		- return next message from queue. buf must point to MSG
		  structure, len must be >= sizeof (MSG). If read is set to
		  non-blocking and the queue is empty, read call returns -1
		  immediately with errno set to EAGAIN, otherwise it blocks
		  untill the message will be received.

	write (fd, buf, len)
		- send a message pointed by buf. len argument ignored.

	ioctl (fd, command, *param)
		- control read()/write() behavior.
		ioctl (fd, WINDOWS_POST, NULL) - write() will PostMessage();
		ioctl (fd, WINDOWS_SEND, NULL) - write() will SendMessage();
		ioctl (fd, WINDOWS_HWND, &hWnd)- read() messages for hWnd window.

	select() call marks read fd when any message posted to queue.



- Changes to compile cygwinb19.dll with egcs.
- Fixed a bug with mtime field of stat structure on fat partitions.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia.


------ =_NextPart_000_01BD6DC7.0FA5DE50
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IhENAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQmAAQAhAAAAODBBMTMwM0I0QUQ5RDExMThBQzAwMDYwMDhDNzcx
MjkA4gYBIIADAA4AAADOBwQAFgAIABEAEAADABsBAQWAAwAOAAAAzgcEABYACAARAAAAAwALAQEN
gAQAAgAAAAIAAgABBIABAA4AAABSRTogTmV3IHBhdGNoAEsEAQOQBgB4CQAAKwAAAAsAAgABAAAA
CwArAAAAAAADAC4AAAAAAEAAOQDwKdnu8G29AR4AcAABAAAACgAAAE5ldyBwYXRjaAAAAAIBcQAB
AAAAGwAAAAG9bbuCV1SXyAXYnBHRgC4IAAngG4EADT6uIAADAAYQjCTDdwMABxCZBAAAHgAIEAEA
AABlAAAASVRUSEVSRUFNRVRIT0RUT0NIRUNLRk9SQ09OVEVOVE9OVEhFUVVFVUUsTElLRVBFRUtN
RVNTQUdFP1dPVUxESVRNQUtFU0VOU0VUT0hBVkVPTkU/LS0tLS1PUklHSU5BTE1FUwAAAAADABAQ
AAAAAAMAERABAAAAAgEJEAEAAADfBAAA2wQAAC4IAABMWkZ1q4O9ZwMACgByY3BnMTI14jIDQ3Rl
eAVBAQMB9/8KgAKkA+QHEwKAD/MAUARWPwhVB7IRJQ5RAwECAGNo4QrAc2V0MgYABsMRJfYzBEYT
tzASLBEzCO8J97Y7GB8OMDURIgxgYwBQswsJAWQzNhZQC6djATAkIEkFQHRoBJBlIDxhIAeAHWAE
cB1QbyDzE9AFkGsgAhAFwAWgAjDPCfAFQAIgHVIgcQpQClCgLCBsaWsdoFAJ4ARrTQeQc2FnZT+o
ICBXCGBsHjBpBUB/AMAgoRQQAIAdoB5RE+B2vx2gAi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uQgAKy/hggEAAAAAAAAALgAAAB4A+D8BAAAAFQAAAFN5c3Rl
bSBBZG1pbmlzdHJhdG9yAAAAAAIB+z8BAAAAHgAAAAAAAADcp0DIwEIQGrS5CAArL+GCAQAAAAAA
AAAuAAAAHgD6PwEAAAAVAAAAU3lzdGVtIEFkbWluaXN0cmF0b3IAAAAAQAAHMKBsEn3wbb0BQAAI
MMTQNvjwbb0BAwANNP0/AAACARQ0AQAAABAAAABUlKHAKX8QG6WHCAArKiUXHgA9AAEAAAAFAAAA
UkU6IAAAAAALACkAAAAAAAsAIwAAAAAAAgF/AAEAAABdAAAAPGM9VVMlYT1fJXA9QnV0bGVyX01h
bnVmYWN0dSVsPUJVSUxESU5HUy9CTERHU0hVQi8wMDA5REYwNUBudHR3cjIudG93ZXIuYmxkZ3Mu
YnV0bGVybWZnLm9yZz4AAAAA32A=

------ =_NextPart_000_01BD6DC7.0FA5DE50--

- Raw text -


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