mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-04 10:54:42 +00:00
Remove deprecated posix.CLONE_STOPPED (#21012)
* Remove deprecated CLONE_STOPPED * Remove deprecated CLONE_STOPPED
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user