diff options
author | Araq <rumpf_a@web.de> | 2011-05-17 22:56:34 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-05-17 22:56:34 +0200 |
commit | b0b2c233aedb7a475c0d918d7747c3ad942bb75f (patch) | |
tree | 2d6cb09385909818b18b4569ca0cc2f1014cb94a /lib/system/systhread.nim | |
parent | 9207492bb997b414f45f24fed3ec5e942286d259 (diff) | |
download | Nim-b0b2c233aedb7a475c0d918d7747c3ad942bb75f.tar.gz |
still playing with threads
Diffstat (limited to 'lib/system/systhread.nim')
-rwxr-xr-x | lib/system/systhread.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system/systhread.nim b/lib/system/systhread.nim index 2b5057ff0..c497cc961 100755 --- a/lib/system/systhread.nim +++ b/lib/system/systhread.nim @@ -77,7 +77,8 @@ when defined(Windows): else: type - TSysLock {.importc: "pthread_mutex_t", header: "<sys/types.h>".} = int + TSysLock {.importc: "pthread_mutex_t", pure, final, + header: "<sys/types.h>".} = object proc InitSysLock(L: var TSysLock, attr: pointer = nil) {. importc: "pthread_mutex_init", header: "<pthread.h>".} |