From fbbc8ee59b12f68bd8575333dbb449eba2b75fd4 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Mon, 14 Mar 2016 13:15:06 +0000
Subject: [PATCH] Added locking to c? Not used yet, not debugged.

---
 src/general.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/general.h b/src/general.h
index 24c5f89..547680e 100644
--- a/src/general.h
+++ b/src/general.h
@@ -339,4 +339,11 @@
 #define VTX(n) &(vlist->vtx[n])
 #define VTX_DATA(n) vlist->vtx[n].data
 
+
+/* FOR PID GENERATION ROUTINE */
+#define CPF_CLOEXEC 1
+
+int createPidFile(const char *progName, const char *pidFile, int flags);
+
+int lockRegion(int fd, int type, int whence, int start, int len);
 #endif

--
Gitblit v1.9.3