D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Thread
/
Filename :
priority-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the priority of <em>thr</em>. Default is inherited from the current thread which creating the new thread, or zero for the initial main thread; higher-priority threads will run before lower-priority threads. - !ruby/struct:SM::Flow::VERB body: " Thread.current.priority #=> 0\n" full_name: Thread#priority is_singleton: false name: priority params: | thr.priority => integer visibility: public