git: world - Add support for lwp_getname() and pthread_get_name_np()

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 13 16:41:04 PST 2019


commit eb396e51df1538ec96905cbba43545c04846bd7e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Nov 13 16:39:26 2019 -0800

    world - Add support for lwp_getname() and pthread_get_name_np()
    
    * Add support for the new system call lwp_getname()
    
    * Add support for pthread_get_name_np(), rounding out that function
      set and improving ports compatibility.

Summary of changes:
 include/pthread_np.h                 |  1 +
 include/unistd.h                     |  1 +
 lib/libc/gen/Symbol.map              |  2 ++
 lib/libc/gen/_pthread_stubs.c        |  8 ++++++++
 lib/libc/include/namespace.h         |  1 +
 lib/libc/include/un-namespace.h      |  1 +
 lib/libc/sys/Makefile.inc            |  1 +
 lib/libc/sys/Symbol.map              |  3 +++
 lib/libc/sys/lwp_setname.2           | 11 ++++++++++-
 lib/libc/upmap/ukp_setname.c         | 25 +++++++++++++++++++++++++
 lib/libc_r/uthread/uthread_info.c    | 13 +++++++++++++
 lib/libpthread/Makefile              |  1 +
 lib/libpthread/pthread_set_name_np.3 | 13 ++++++++++++-
 lib/libthread_xu/pthread.map         |  2 ++
 lib/libthread_xu/thread/thr_info.c   | 25 +++++++++++++++++++++++++
 lib/libthread_xu/thread/thr_init.c   |  2 ++
 16 files changed, 108 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb396e51df1538ec96905cbba43545c04846bd7e


-- 
DragonFly BSD source repository



More information about the Commits mailing list