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.45
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby30 /
share /
ri /
system /
Fiber /
Delete
Unzip
Name
Size
Permission
Date
Action
SchedulerInterface
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
alive%3f-i.ri
530
B
-rw-r--r--
2024-06-26 17:25
backtrace-i.ri
1.59
KB
-rw-r--r--
2024-06-26 17:25
backtrace_locations-i.ri
857
B
-rw-r--r--
2024-06-26 17:25
blocking%3f-c.ri
923
B
-rw-r--r--
2024-06-26 17:25
blocking%3f-i.ri
745
B
-rw-r--r--
2024-06-26 17:25
cdesc-Fiber.ri
3.89
KB
-rw-r--r--
2024-06-26 17:25
current-c.ri
486
B
-rw-r--r--
2024-06-26 17:25
inspect-i.ri
306
B
-rw-r--r--
2024-06-26 17:25
new-c.ri
1.1
KB
-rw-r--r--
2024-06-26 17:25
raise-i.ri
1.33
KB
-rw-r--r--
2024-06-26 17:25
resume-i.ri
887
B
-rw-r--r--
2024-06-26 17:25
schedule-c.ri
1.63
KB
-rw-r--r--
2024-06-26 17:25
scheduler-c.ri
576
B
-rw-r--r--
2024-06-26 17:25
set_scheduler-c.ri
977
B
-rw-r--r--
2024-06-26 17:25
to_s-i.ri
332
B
-rw-r--r--
2024-06-26 17:25
transfer-i.ri
3.81
KB
-rw-r--r--
2024-06-26 17:25
yield-c.ri
616
B
-rw-r--r--
2024-06-26 17:25
Save
Rename
U:RDoc::AnyMethod[iI" schedule:ETI"Fiber::schedule;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"XThe method is <em>expected</em> to immediately run the provided block of code in a ;TI"!separate non-blocking fiber.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"puts "Go to sleep!" ;TI" ;TI"*Fiber.set_scheduler(MyScheduler.new) ;TI" ;TI"Fiber.schedule do ;TI" puts "Going to sleep" ;TI" sleep(1) ;TI" puts "I slept well" ;TI" end ;TI" ;TI"$puts "Wakey-wakey, sleepyhead" ;T:@format0o; ; [I"MAssuming MyScheduler is properly implemented, this program will produce:;T@o;; [ I"Go to sleep! ;TI"Going to sleep ;TI"Wakey-wakey, sleepyhead ;TI"...1 sec pause here... ;TI"I slept well ;T; 0o; ; [ I"S...e.g. on the first blocking operation inside the Fiber (<tt>sleep(1)</tt>), ;TI"Qthe control is yielded at the outside code (main fiber), and <em>at the end ;TI"Rof the execution</em>, the scheduler takes care of properly resuming all the ;TI"blocked fibers.;T@o; ; [ I"SNote that the behavior described above is how the method is <em>expected</em> ;TI"Sto behave, actual behavior is up to the current scheduler's implementation of ;TI"QFiber::SchedulerInterface#fiber method. Ruby doesn't enforce this method to ;TI""behave in any particular way.;T@o; ; [I"4If the scheduler is not set, the method raises ;TI"8<tt>RuntimeError (No scheduler is available!)</tt>.;T: @fileI"cont.c;T:0@omit_headings_from_table_of_contents_below0I"-Fiber.schedule { |*args| ... } -> fiber ;T0[ I"(*args);T@7FI" Fiber;TcRDoc::NormalClass00