summaryrefslogtreecommitdiff
path: root/rts/FileLock.h
diff options
context:
space:
mode:
authorPaolo Capriotti <p.capriotti@gmail.com>2012-05-08 14:05:28 +0100
committerPaolo Capriotti <p.capriotti@gmail.com>2012-05-08 14:09:08 +0100
commit9fb12e142b80ce399285b41e8fad4f862bb6a776 (patch)
tree5363880cf94888a9c0bcc015df37213802b1fa87 /rts/FileLock.h
parentc04619769d5a09325d9e7f28b1382f52df6051b4 (diff)
downloadhaskell-9fb12e142b80ce399285b41e8fad4f862bb6a776.tar.gz
Enable FileLock for win32 (#4363)
Diffstat (limited to 'rts/FileLock.h')
-rw-r--r--rts/FileLock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/rts/FileLock.h b/rts/FileLock.h
new file mode 100644
index 0000000000..72ab170437
--- /dev/null
+++ b/rts/FileLock.h
@@ -0,0 +1,15 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (c) The GHC Team, 2007
+ *
+ * File locking support as required by Haskell
+ *
+ * ---------------------------------------------------------------------------*/
+
+#ifndef POSIX_FILELOCK_H
+#define POSIX_FILELOCK_H
+
+RTS_PRIVATE void initFileLocking(void);
+RTS_PRIVATE void freeFileLocking(void);
+
+#endif /* POSIX_FILELOCK_H */