-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #664 from soutaro/fork-if-available
Fork to start worker processes
- Loading branch information
Showing
13 changed files
with
209 additions
and
60 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
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
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
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
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ gems: | |
ignore: true | ||
- name: set | ||
- name: rbs | ||
ignore: true | ||
- name: with_steep_types | ||
ignore: true | ||
- name: dbm |
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,31 +1,29 @@ | ||
module Steep | ||
module Drivers | ||
class Worker | ||
attr_reader stdout: untyped | ||
attr_reader stdout: IO | ||
|
||
attr_reader stderr: untyped | ||
attr_reader stderr: IO | ||
|
||
attr_reader stdin: untyped | ||
attr_reader stdin: IO | ||
|
||
attr_accessor steepfile_path: untyped | ||
attr_accessor worker_type: Symbol | ||
|
||
attr_accessor worker_type: untyped | ||
attr_accessor worker_name: String | ||
|
||
attr_accessor worker_name: untyped | ||
attr_accessor delay_shutdown: bool | ||
|
||
attr_accessor delay_shutdown: untyped | ||
attr_accessor max_index: Integer | ||
|
||
attr_accessor max_index: untyped | ||
attr_accessor index: Integer | ||
|
||
attr_accessor index: untyped | ||
|
||
attr_accessor commandline_args: untyped | ||
attr_accessor commandline_args: Array[String] | ||
|
||
include Utils::DriverHelper | ||
|
||
def initialize: (stdout: untyped, stderr: untyped, stdin: untyped) -> void | ||
def initialize: (stdout: IO, stderr: IO, stdin: IO) -> void | ||
|
||
def run: () -> 0 | ||
def run: () -> Integer | ||
end | ||
end | ||
end |
Oops, something went wrong.