summary refs log tree commit diff stats
path: root/lib/locks.nim
blob: 89d26dfca2bb9bfed23b003e9e1ed6f8c14a3dde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#
#            Nimrod's Runtime Library
#        (c) Copyright 2008 Andreas Rumpf
#
#    See the file "copying.txt", included in this
#    distribution, for details about the copyright.
#

# Simple platform dependant lock implementation

type
  TSimpleLock = pointer

proc initLock(s: TSimpleLock)
proc deinitLock(s: TSimpleLock)
proc lock(s: TSimpleLock)
proc unlock(s: TSimpleLock)