D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Thread
/
Filename :
priority-i.ri
back
Copy
U:RDoc::AnyMethod[iI" priority:ETI"Thread#priority;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"GReturns the priority of <i>thr</i>. Default is inherited from the ;TI"Ccurrent thread which creating the new thread, or zero for the ;TI"Jinitial main thread; higher-priority thread will run more frequently ;TI"Kthan lower-priority threads (but lower-priority threads can also run).;To:RDoc::Markup::BlankLine o; ; [I"MThis is just hint for Ruby thread scheduler. It may be ignored on some ;TI"platform.;T@o:RDoc::Markup::Verbatim; [I"$Thread.current.priority #=> 0;T:@format0: @fileI" thread.c;T:0@omit_headings_from_table_of_contents_below0I"thr.priority -> integer ;T0[ I"();T@FI"Thread;TcRDoc::NormalClass00