-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
199 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
# TODO | ||
module Datadog | ||
module Core | ||
module Utils | ||
module AtForkMonkeyPatch | ||
AT_FORK_CHILD_BLOCKS: ::Array[untyped] | ||
|
||
def self.supported?: () -> untyped | ||
|
||
def self.apply!: () -> (false | true) | ||
|
||
def self.run_at_fork_blocks: (untyped stage) -> untyped | ||
|
||
def self.at_fork: (untyped stage) ?{ () -> untyped } -> true | ||
|
||
module KernelMonkeyPatch | ||
def fork: () ?{ () -> untyped } -> untyped | ||
end | ||
|
||
module ProcessMonkeyPatch | ||
def _fork: () -> untyped | ||
|
||
def daemon: (*untyped args) -> untyped | ||
end | ||
end | ||
end | ||
end | ||
end |
Oops, something went wrong.