[comp.windows.x] message queues and events

betsy@nancy.UUCP (Betsy Dunphy) (08/29/89)

I have an application which builds several windows and listens for 
function key events.  Communications to this process can be through
function keys (i.e. to tell me to change windows) or through messages 
sent from other processes (system V message queue facility).  My question
is this:  Is it possible to add the message queue as a source of input such
that I can receive an event when a message arrives on the queue?  
I would rather not have to poll for events and messages....  
The XtAddInput() seems to be only for fd's, is there a similar 
function where I can specify my message queue id as a source?

The particular facts of my system:
	R3 Intrinsics (actually, its been called R2.5 by those 
                        who probably would know!)
	R2 Hp widgets
	AT&T 6386 running Interactive 2.0.2


Thanks in advance,
Betsy
..!keysec!nancy!betsy

=============================================================================
Betsy Dunphy                   |   address: ..!keysec!nancy!betsy 
American Systems Corporation   |
14320 Sullyfield Circle        |    (nothing fancy......)
Chantilly, VA                  |
=============================================================================