get rid of deprecated effects
This commit is contained in:
parent
3c13508b25
commit
543ec37975
1 changed files with 6 additions and 18 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
#
|
||||
# Nim's Runtime Library
|
||||
# (c) Copyright 2012 Andreas Rumpf
|
||||
# (c) Copyright 2015 Andreas Rumpf
|
||||
#
|
||||
# See the file "copying.txt", included in this
|
||||
# distribution, for details about the copyright.
|
||||
|
|
@ -16,18 +16,6 @@ type
|
|||
## or not is unspecified!
|
||||
TCond* = TSysCond ## Nim condition variable
|
||||
|
||||
LockEffect* {.deprecated.} = object of RootEffect ## \
|
||||
## effect that denotes that some lock operation
|
||||
## is performed. Deprecated, do not use anymore!
|
||||
AquireEffect* {.deprecated.} = object of LockEffect ## \
|
||||
## effect that denotes that some lock is
|
||||
## acquired. Deprecated, do not use anymore!
|
||||
ReleaseEffect* {.deprecated.} = object of LockEffect ## \
|
||||
## effect that denotes that some lock is
|
||||
## released. Deprecated, do not use anymore!
|
||||
{.deprecated: [FLock: LockEffect, FAquireLock: AquireEffect,
|
||||
FReleaseLock: ReleaseEffect].}
|
||||
|
||||
proc initLock*(lock: var TLock) {.inline.} =
|
||||
## Initializes the given lock.
|
||||
initSysLock(lock)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue