⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.127
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Thread
/
View File Name :
priority%3d-i.ri
U:RDoc::AnyMethod[iI"priority=:ETI"Thread#priority=;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"PSets the priority of
thr
to
integer
. Higher-priority threads ;TI"Nwill run more frequently than lower-priority threads (but lower-priority ;TI"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"count1 = count2 = 0 ;TI"a = Thread.new do ;TI" loop { count1 += 1 } ;TI" end ;TI"a.priority = -1 ;TI" ;TI"b = Thread.new do ;TI" loop { count2 += 1 } ;TI" end ;TI"b.priority = -2 ;TI"sleep 1 #=> 1 ;TI"count1 #=> 622504 ;TI"count2 #=> 5832;T:@format0: @fileI" thread.c;T:0@omit_headings_from_table_of_contents_below0I"$thr.priority= integer -> thr ;T0[ I" (p1);T@$FI"Thread;TcRDoc::NormalClass00