Fix a few deprecation warnings
This commit is contained in:
parent
4246f660ea
commit
c50b5b62ef
32 changed files with 53 additions and 65 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
when false:
|
||||
template lock(a, b: ptr TLock; body: stmt) =
|
||||
template lock(a, b: ptr Lock; body: stmt) =
|
||||
if cast[ByteAddress](a) < cast[ByteAddress](b):
|
||||
pthread_mutex_lock(a)
|
||||
pthread_mutex_lock(b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue