summaryrefslogtreecommitdiff
path: root/lock.urs
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-06-25 21:00:19 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-06-25 21:00:19 -0400
commit0073ec1eed94b00de29129aca9ac08e8d17120c9 (patch)
tree62237c8f2dceab1af7adcf1193828cdd5c2939e4 /lock.urs
parent18b26edf08b15fc895da18cc11c23764bc8700bc (diff)
Implement basic locking
Diffstat (limited to 'lock.urs')
-rw-r--r--lock.urs16
1 files changed, 16 insertions, 0 deletions
diff --git a/lock.urs b/lock.urs
new file mode 100644
index 0000000..f7282cc
--- /dev/null
+++ b/lock.urs
@@ -0,0 +1,16 @@
+(* Copyright 2015 the Massachusetts Institute of Technology
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License. *)
+
+val take : string -> transaction bool
+
+val release : string -> transaction unit