Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby33 /
share /
ri /
system /
Ractor /
Delete
Unzip
Name
Size
Permission
Date
Action
ClosedError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Error
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IsolationError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
MovedError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
MovedObject
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RemoteError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Selector
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UnsafeError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
%3c%3c-i.ri
246
B
-rw-r--r--
2026-04-07 17:22
%5b%5d%3d-i.ri
298
B
-rw-r--r--
2026-04-07 17:22
%5b%5d-i.ri
293
B
-rw-r--r--
2026-04-07 17:22
cdesc-Ractor.ri
11.5
KB
-rw-r--r--
2026-04-07 17:22
close_incoming-i.ri
768
B
-rw-r--r--
2026-04-07 17:22
close_outgoing-i.ri
760
B
-rw-r--r--
2026-04-07 17:22
count-c.ri
741
B
-rw-r--r--
2026-04-07 17:22
current-c.ri
416
B
-rw-r--r--
2026-04-07 17:22
inspect-i.ri
253
B
-rw-r--r--
2026-04-07 17:22
main-c.ri
277
B
-rw-r--r--
2026-04-07 17:22
make_shareable-c.ri
1.66
KB
-rw-r--r--
2026-04-07 17:22
name-i.ri
294
B
-rw-r--r--
2026-04-07 17:22
new-c.ri
1.47
KB
-rw-r--r--
2026-04-07 17:22
receive-c.ri
1.88
KB
-rw-r--r--
2026-04-07 17:22
receive-i.ri
313
B
-rw-r--r--
2026-04-07 17:22
receive_if-c.ri
2.26
KB
-rw-r--r--
2026-04-07 17:22
receive_if-i.ri
296
B
-rw-r--r--
2026-04-07 17:22
recv-c.ri
238
B
-rw-r--r--
2026-04-07 17:22
recv-i.ri
237
B
-rw-r--r--
2026-04-07 17:22
select-c.ri
2.16
KB
-rw-r--r--
2026-04-07 17:22
send-i.ri
3.01
KB
-rw-r--r--
2026-04-07 17:22
shareable%3f-c.ri
794
B
-rw-r--r--
2026-04-07 17:22
take-i.ri
2.36
KB
-rw-r--r--
2026-04-07 17:22
to_s-i.ri
237
B
-rw-r--r--
2026-04-07 17:22
yield-c.ri
1.33
KB
-rw-r--r--
2026-04-07 17:22
Save
Rename
U:RDoc::AnyMethod[iI"select:ETI"Ractor::select;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"\Wait for any ractor to have something in its outgoing port, read from this ractor, and ;TI"5then return that ractor and the object received.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"-r1 = Ractor.new {Ractor.yield 'from 1'} ;TI"-r2 = Ractor.new {Ractor.yield 'from 2'} ;TI" ;TI"$r, obj = Ractor.select(r1, r2) ;TI" ;TI"6puts "received #{obj.inspect} from #{r.inspect}" ;TI"E# Prints: received "from 1" from #<Ractor:#2 test.rb:1 running> ;TI"R# But could just as well print "from r2" here, either prints could be first. ;T:@format0o; ; [I"]If one of the given ractors is the current ractor, and it is selected, +r+ will contain ;TI"8the +:receive+ symbol instead of the ractor object.;T@o;; [I"/r1 = Ractor.new(Ractor.current) do |main| ;TI" main.send 'to main' ;TI" Ractor.yield 'from 1' ;TI" end ;TI"r2 = Ractor.new do ;TI" Ractor.yield 'from 2' ;TI" end ;TI" ;TI"4r, obj = Ractor.select(r1, r2, Ractor.current) ;TI"6puts "received #{obj.inspect} from #{r.inspect}" ;TI"5# Could print: received "to main" from :receive ;T; 0o; ; [I"aIf +yield_value+ is provided, that value may be yielded if another ractor is calling #take. ;TI"?In this case, the pair <tt>[:yield, nil]</tt> is returned:;T@o;; [ I"/r1 = Ractor.new(Ractor.current) do |main| ;TI"/ puts "Received from main: #{main.take}" ;TI" end ;TI" ;TI"puts "Trying to select" ;TI"Br, obj = Ractor.select(r1, Ractor.current, yield_value: 123) ;TI" wait ;TI"6puts "Received #{obj.inspect} from #{r.inspect}" ;T; 0o; ; [I"This will print:;T@o;; [I"Trying to select ;TI"Received from main: 123 ;TI"Received nil from :yield ;T; 0o; ; [I"Y+move+ boolean flag defines whether yielded value will be copied (default) or moved.;T: @fileI"ractor.rb;T:0@omit_headings_from_table_of_contents_below0I"URactor.select(*ractors, [yield_value:, move: false]) -> [ractor or symbol, obj] ;T0[ I"C(*ractors, yield_value: yield_unspecified = true, move: false);T@DFI"Ractor;TcRDoc::NormalClass00