home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c160 / 1.ddi / SOURCE / D4LOCK_W.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-22  |  349 b   |  22 lines

  1.  
  2. /* (c)Copyright Sequiter Software Inc., 1987-1990.  All rights reserved.
  3. */
  4.  
  5. #include "d4base.h"
  6.  
  7. extern int  v4lock_wait ;
  8.  
  9.  
  10. int d4lock_wait( int lock_wait )
  11. {
  12.    int  old_lock_wait ;
  13.  
  14.    old_lock_wait =  v4lock_wait ;
  15.  
  16.    if ( lock_wait == 0 || lock_wait == 1 )
  17.       v4lock_wait =  lock_wait ;
  18.  
  19.    return old_lock_wait ;
  20. }
  21.  
  22.