Test SCO Xenix IPC reliability
    John Owens 
    john at jetson.UPMA.MD.US
       
    Fri Aug 26 06:24:37 AEST 1988
    
    
  
In article <5786 at rpp386.UUCP>, jfh at rpp386.UUCP (The Beach Bum) writes:
> this program should work regardless of scheduling.
> if ... TOCK
> is printed then signal() has been called.
Not the first time.  If ... TOCK is printed once (after TICK ... is
printed), then parent() set loc[0] and child()'s while loop ended.
Yes, parent and child both have called signal(), but the signal
apparently doesn't go through.
I think that parent() executes
	kill (loc[2], SIGUSR1);
before the child process executes
	loc[2] = getpid();
and the child process never receives a signal.
-- 
John Owens		john at jetson.UPMA.MD.US
SMART HOUSE L.P.	uunet!jetson!john		(old uucp)
+1 301 249 6000		john%jetson.uucp at uunet.uu.net	(old internet)
    
    
More information about the Comp.unix.xenix
mailing list