lpd lock file
    utzoo!decvax!ucbvax!unix-wizards 
    utzoo!decvax!ucbvax!unix-wizards
       
    Tue Aug 18 08:57:32 AEST 1981
    
    
  
>From dsp.dove at MIT-SPEECH@MIT-AI Tue Aug 18 08:52:50 1981
A better way of making a lock file is to have lpd make a dummy with
its pid, clear all write bits, and link it as the lockfile.  Then
arrange for the lpd to ignore some specific signal.  To find out if a
given lockfile has an associated lpd just read the lockfile, signal
that proc with the ignored signal and see if it succeeds.
Why couldn't this work for the rand editor?
-------
    
    
More information about the Comp.unix.wizards
mailing list