mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.docs
git-svn-id: svn://ultimatepp.org/upp/trunk@11051 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
32194b3188
commit
35094fe7ee
1 changed files with 10 additions and 0 deletions
|
|
@ -61,6 +61,11 @@ can be already finished and not running anymore (calling to Wait
|
|||
in that case returns immediately).&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:Thread`:`:GetId`(`)const: [_^Upp`:`:Thread`:`:Id^ Thread`::Id]_[* GetId]()_[@(0.0.255) c
|
||||
onst]&]
|
||||
[s2;%% Returns the system`-unique id of thread.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Thread`:`:GetHandle`(`)const: HANDLE_[* GetHandle]()_[@(0.0.255) const
|
||||
][*C `[WIN32`]]&]
|
||||
[s5;:Thread`:`:GetHandle`(`)const: pthread`_t_[* GetHandle]()_[@(0.0.255) const
|
||||
|
|
@ -109,6 +114,11 @@ client code should call the already installed function (return
|
|||
value is not null)&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:Thread`:`:GetCurrentId`(`): [@(0.0.255) static] [_^Upp`:`:Thread`:`:Id^ Threa
|
||||
d`::Id]_[* GetCurrentId]()&]
|
||||
[s2;%% Returns the system`-unique id of calling thread.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Thread`:`:Priority`(int`): [@(0.0.255) bool]_[* Priority]([@(0.0.255) int]_[*@3 percent])
|
||||
&]
|
||||
[s2;%% Sets the treads priority to [%-*@3 percent ][%- (0 to 200)]. In
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue