Skip to content

netbsd adding _lwp_park api.#3721

Merged
tgross35 merged 1 commit intorust-lang:mainfrom
devnexen:netbsd_lwp_unpark
Aug 13, 2024
Merged

netbsd adding _lwp_park api.#3721
tgross35 merged 1 commit intorust-lang:mainfrom
devnexen:netbsd_lwp_unpark

Conversation

@devnexen
Copy link
Contributor

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented May 25, 2024

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

devnexen added a commit to devnexen/libc that referenced this pull request May 27, 2024
@tgross35 tgross35 mentioned this pull request Aug 13, 2024
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Aug 13, 2024
hint: *const ::c_void,
unparkhint: *mut ::c_void,
) -> ::c_int;
pub fn _lwp_unpark(id: ::lwpid_t, hint: *const ::c_void) -> ::c_int;
Copy link
Contributor

Choose a reason for hiding this comment

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

Optional nit: id is called lwp per https://man.netbsd.org/_lwp_unpark.2


pub fn reboot(mode: ::c_int, bootstr: *mut ::c_char) -> ::c_int;

#[link_name = "___lwp_park60"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you have a link/source referencing the link name? I can't seem to find it mentioned anywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

note that rust uses directly the "real" symbol.

Copy link
Contributor

Choose a reason for hiding this comment

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

Perfect, thank you.

@tgross35
Copy link
Contributor

One question and one optional nit, otherwise lgtm. Relevant sources:

@rustbot author

@devnexen
Copy link
Contributor Author

@rustbot ready

@tgross35 tgross35 added this pull request to the merge queue Aug 13, 2024
Merged via the queue into rust-lang:main with commit f5d998e Aug 13, 2024
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Aug 16, 2024
(backport <rust-lang#3721>)
(cherry picked from commit 4769aaa)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review stable-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants