⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.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 <i>thr</i> to <i>integer</i>. 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