$88 GRAYBYTE WORDPRESS FILE MANAGER $63

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/ruby18/share/ri/1.8/system/Queue/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/Queue//cdesc-Queue.yaml
--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: This class provides a way to synchronize communication between threads.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'thread'\n\n  queue = Queue.new\n\n  producer = Thread.new do\n    5.times do |i|\n      sleep rand(i) # simulate expense\n      queue << i\n      puts "#{i} produced"\n    end\n  end\n\n  consumer = Thread.new do\n    5.times do |i|\n      value = queue.pop\n      sleep rand(i/2) # simulate expense\n      puts "consumed #{value}"\n    end\n  end\n\n  consumer.join\n"
constants: []

full_name: Queue
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: "<<"
- !ruby/object:RI::MethodSummary 
  name: clear
- !ruby/object:RI::MethodSummary 
  name: deq
- !ruby/object:RI::MethodSummary 
  name: empty?
- !ruby/object:RI::MethodSummary 
  name: enq
- !ruby/object:RI::MethodSummary 
  name: length
- !ruby/object:RI::MethodSummary 
  name: num_waiting
- !ruby/object:RI::MethodSummary 
  name: pop
- !ruby/object:RI::MethodSummary 
  name: push
- !ruby/object:RI::MethodSummary 
  name: shift
- !ruby/object:RI::MethodSummary 
  name: size
name: Queue
superclass: Object


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
%3c%3c-i.yaml
0.211 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-Queue.yaml
1.32 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
clear-i.yaml
0.229 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
deq-i.yaml
0.222 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
empty%3f-i.yaml
0.24 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
enq-i.yaml
0.211 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
length-i.yaml
0.268 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.211 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
num_waiting-i.yaml
0.257 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pop-i.yaml
0.491 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
push-i.yaml
0.309 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
shift-i.yaml
0.226 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
size-i.yaml
0.212 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF