Remove deprecated posix.CLONE_STOPPED (#21012)

* Remove deprecated CLONE_STOPPED

* Remove deprecated CLONE_STOPPED
This commit is contained in:
Juan Carlos
2022-12-05 02:53:40 -03:00
committed by GitHub
parent 78b387d948
commit 1b5e03f975
2 changed files with 4 additions and 1 deletions

View File

@@ -182,6 +182,9 @@
- Removed deprecated `std/posix.CMSG_SPACE` and `std/posix.CMSG_LEN` that takes wrong argument types.
- Removed deprecated `osproc.poDemon`, symbol with typo.
- Removed deprecated `posix.CLONE_STOPPED`.
## Language changes
- [Tag tracking](https://nim-lang.github.io/Nim/manual.html#effect-system-tag-tracking) supports the definition of forbidden tags by the `.forbids` pragma

View File

@@ -29,7 +29,7 @@ const
CLONE_NEWPID* = 0x20000000'i32
CLONE_NEWNET* = 0x40000000'i32
CLONE_IO* = 0x80000000'i32
CLONE_STOPPED* {.deprecated.} = 0x02000000'i32
# fn should be of type proc (a2: pointer) {.cdecl.}
proc clone*(fn: pointer; child_stack: pointer; flags: cint;