[comp.os.vms] XtAppAddInput

jym@mica.berkeley.edu (Jym Dyer) (03/26/91)

___
 __ A few months ago I appealed to these newsgroups for help using
  _ XtAppAddInput() with mailbox input under VMS.  The exchange of
    messages that followed led to a solution:

	o Use an EFN in cluster 0.  And a separate IOSB.
	o Use $QIO and IO$_WRITEATTN to queue up a AST demon
	  routine which is called when something is written
	  to the mailbox.
	o Have the demon routine explicitly set the EFN and
	  set the status in the IOSB to 1, thereby telling
	  the DECwindows event loop that it's got something
	  to deal with.
___
 __ Well, somebody in my department has written a little package
  _ that does mailbox IO a bit differently.  It queues an asynch-
    ronous read request to the input mailbox at appropriate
    times.
___
 __ It seems to me that if I use this package, I'll probably have
  _ a simpler technique overall.  Has anyone implemented anything
    with DECwindows that works this way?  If so, could you tell me
    any pitfalls and such I might watch out for?
    <_Jym_>