LibPthread: Remove bad spec link for pthread_{get/set}name_np APIs
I had somehow incorrectly added this link in a previous check-in. Reported-by: Nico Weber <thakis@chromium.org>
This commit is contained in:
parent
f4dd388caf
commit
856fc76083
Notes:
sideshowbarker
2024-07-17 21:30:17 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/856fc760837 Pull-request: https://github.com/SerenityOS/serenity/pull/11691 Reviewed-by: https://github.com/Quaker762 ✅
1 changed files with 0 additions and 2 deletions
|
@ -515,7 +515,6 @@ int pthread_setspecific(pthread_key_t key, const void* value)
|
|||
return __pthread_setspecific(key, value);
|
||||
}
|
||||
|
||||
// https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_setname_np.html
|
||||
int pthread_setname_np(pthread_t thread, const char* name)
|
||||
{
|
||||
if (!name)
|
||||
|
@ -524,7 +523,6 @@ int pthread_setname_np(pthread_t thread, const char* name)
|
|||
__RETURN_PTHREAD_ERROR(rc);
|
||||
}
|
||||
|
||||
// https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_getname_np.html
|
||||
int pthread_getname_np(pthread_t thread, char* buffer, size_t buffer_size)
|
||||
{
|
||||
int rc = syscall(SC_get_thread_name, thread, buffer, buffer_size);
|
||||
|
|
Loading…
Add table
Reference in a new issue