Fix header inconsistencies in documentation (#11071)
This commit is contained in:
parent
4f93669754
commit
3b4952da94
17 changed files with 95 additions and 98 deletions
|
|
@ -19,7 +19,8 @@
|
|||
## to prevent race conditions and improves efficiency. See `the manual for
|
||||
## details of this memory model <manual.html#threads>`_.
|
||||
##
|
||||
## Example:
|
||||
## Examples
|
||||
## ========
|
||||
##
|
||||
## .. code-block:: Nim
|
||||
##
|
||||
|
|
@ -328,7 +329,7 @@ else:
|
|||
proc createThread*(t: var Thread[void], tp: proc () {.thread, nimcall.}) =
|
||||
createThread[void](t, tp)
|
||||
|
||||
## we need to cache current threadId to not perform syscall all the time
|
||||
# we need to cache current threadId to not perform syscall all the time
|
||||
var threadId {.threadvar.}: int
|
||||
|
||||
when defined(windows):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue