lockfile.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2014-2/
  • sys/
  • lockfile.h
  • View
  • Commits
  • Open Download .zip Download (443 B)
/*
 * Copyright 1995, 1996 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

#ifdef OS_NT
extern "C" int lockFileByHandle( HANDLE h, int flag );
#endif
extern "C" int lockFile( int fd, int flag );

enum lockFileFlags {

	LOCKF_UN = 0,		// unlock
	LOCKF_SH = 1,		// shared
	LOCKF_EX = 2,		// exclusive
	LOCKF_SH_NB = 3,	// shared (no block)
	LOCKF_EX_NB = 4		// exclusive (no block)

} ;

# Change User Description Committed
#1 15903 Matt Attaway Everything should be happy now between the Workshop and the depot paths
//guest/perforce_software/p4/2014_2/sys/lockfile.h
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.2/sys/lockfile.h
#1 12189 Matt Attaway Initial (and much belated) drop of 2014.2 p4 source code