Skip to content

do nothing in set_name() #8

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

Merged
merged 1 commit into from
Aug 23, 2019
Merged

do nothing in set_name() #8

merged 1 commit into from
Aug 23, 2019

Conversation

BaoshanPang
Copy link

VxWorks doesn't support set thread's name after it has created, so make this function do nothing.

r? @n-salim

@n-salim
I am creating this PR again branch master_003 is because I want to create a seperate PR to upstream the code later. If I merge the code into branch master then the code would be part of last PR. I hope the PR for upstream this code would be faster in this way.

@BaoshanPang BaoshanPang requested a review from n-salim August 23, 2019 20:54
@@ -77,7 +77,7 @@ impl Thread {
}

pub fn set_name(_name: &CStr) {
assert!(false, "FIXME: set_name");
// do nothing
Copy link

Choose a reason for hiding this comment

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

Improve comment:

// VxWorks does not provide a way to set the task name except at creation time

@BaoshanPang BaoshanPang merged commit 602bea3 into master_003 Aug 23, 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