H From:	MERC::"uunet!CRVAX.SRI.COM!RELAY-INFO-VAX"  7-APR-1993 18:09:37.97$ To:	"info-vax" <info-vax@kl.sri.com> CC:	6 Subj:	RE: Interrupt Based Inter Process Communications  O In article <1993Apr6.172150.1@kean.ucs.mun.ca>, wpearson@kean.ucs.mun.ca wrote: F >   I wish to implement interrupt based communications between severalI >   processes on a VAX 8250 running VMS version 5.1. A signalling process K >   would generate an interrupt causing several other processes to retrieve 2 >   and process data from a common global section. > N >   However, I wish to implement a one way handshake only. ie. The signalling M >   process would generate an interrupt and then clear it - this would cause  K >   the receiving processes to enter their corresponding interrupt service  
 >   routines.  > I >   I don't care about missing a few interrupts - my data is time stamped I >   However my signalling process must generate an interrupt *every* time I >   a data sample is ready - it must not wait for a return handshake from L >   the receiving process(es). Also I do not wish to have interrupts queued.  4 Have you considered using locks, with blocking ASTs?  F  1) Have all your processes hold a lock at CR (concurrent read) state.?  2) Your signaller converts the lock from CR to EX (exclusive). L  3) Your signallees' blocking ASTs trip; they drop the lock to NL, and queueF     a request (asynchronously) for the lock to go from NL to CR with a     blocking AST again. "  4) Your signallees do their work.J  5) Your signaller converts the lock back to CR after getting the EX lock.  M This is a "broad brush" description and not complete.  I implemented somthing I like this using 2 locks with data being carried back in forth in the lock I value block of one of them.  You also have to determine if you signallees J will have ASTs disabled or unavailable for any length of time -- no signalL can be sent during that time.  (There are ways around this, too, but they'reI pretty convoluted, and I'm not willing to describe them off the top of my / head and incur the wrath of Ehud, et. al. :-) )   G As someone else pointed out, you will probably require a minimal amount 8 of handshaking in order to get the thing to work at all.  
 Eric Richards  richarde@eglin.af.mil  TYBRIN Corp 
 Eglin AFB, FL  904/882-9795    