Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added send_signal to ProcessDescriptor #11

Merged
merged 1 commit into from
Nov 11, 2015
Merged

Added send_signal to ProcessDescriptor #11

merged 1 commit into from
Nov 11, 2015

Conversation

esteve
Copy link
Member

@esteve esteve commented Nov 11, 2015

This PR adds a send_signal method to ProcessDescriptor, so that a signal can be sent to a process (e.g. SIGTERM)

@esteve esteve added the in progress Actively being worked on (Kanban column) label Nov 11, 2015
@esteve esteve self-assigned this Nov 11, 2015
@esteve esteve added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Nov 11, 2015
@esteve
Copy link
Member Author

esteve commented Nov 11, 2015

@gerkey could you test it with the examples?

@gerkey
Copy link
Member

gerkey commented Nov 11, 2015

Working on it now.

@@ -47,6 +51,9 @@ class TaskDescriptor(object):
def __init__(self):
self.task_state = None

def send_signal(self, signal):
pass

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the other subclass CoroutineDescriptor can't implement this the base class should probably not contain this method.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@esteve esteve changed the title Added send_signal to TaskDescriptor Added send_signal to ProcessDescriptor Nov 11, 2015
@dirk-thomas
Copy link
Member

+1

esteve added a commit that referenced this pull request Nov 11, 2015
Added send_signal to ProcessDescriptor
@esteve esteve merged commit ca730ff into master Nov 11, 2015
@esteve esteve removed the in review Waiting for review (Kanban column) label Nov 11, 2015
@esteve esteve deleted the send-signal branch November 11, 2015 23:41
wjwwood pushed a commit that referenced this pull request Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants