git: lwp: Move all lwp syscalls to sys/lwp.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Jan 16 06:19:52 PST 2017


commit 0d9899e72d0ab73653a47790ac79317a20a1601c
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jan 16 22:04:28 2017 +0800

    lwp: Move all lwp syscalls to sys/lwp.h
    
    Discussed-with: swildner, zrj

Summary of changes:
 include/signal.h                       |  1 -
 include/unistd.h                       |  5 -----
 lib/libc/sys/lwp_create.2              |  2 +-
 lib/libc/sys/lwp_gettid.2              |  2 +-
 lib/libc/sys/lwp_kill.2                |  1 +
 lib/libc/sys/lwp_setaffinity.2         |  3 +--
 lib/libc/sys/lwp_setname.2             |  2 +-
 lib/libc/sys/rtprio.2                  |  1 +
 lib/libc/sys/sched_getaffinity.c       |  3 +--
 lib/libc/sys/sched_setaffinity.c       |  3 +--
 lib/libc/sysvipc/lock.c                |  1 +
 lib/libc/sysvipc/utils.c               |  1 +
 lib/libc_r/uthread/uthread_affinity.c  |  3 +--
 lib/libthread_xu/thread/thr_affinity.c |  3 +--
 lib/libthread_xu/thread/thr_create.c   |  1 +
 lib/libthread_xu/thread/thr_info.c     |  1 +
 lib/libthread_xu/thread/thr_kern.c     |  1 +
 sys/kern/kern_fork.c                   |  1 +
 sys/platform/pc64/x86_64/vm_machdep.c  |  1 +
 sys/sys/lwp.h                          | 38 ++++++++++++++++++++++++++++++++++
 sys/sys/rtprio.h                       |  1 -
 sys/sys/unistd.h                       | 12 -----------
 sys/sys/usched.h                       |  3 ---
 23 files changed, 55 insertions(+), 35 deletions(-)
 create mode 100644 sys/sys/lwp.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d9899e72d0ab73653a47790ac79317a20a1601c


-- 
DragonFly BSD source repository



More information about the Commits mailing list