git: pthreads: Use pthread_t type in libthread_xu.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sat Dec 12 01:09:46 PST 2020


commit 940be950819fa932cd401a01f1182bf686a2e61e
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Dec 8 11:09:37 2020 +0000

    pthreads: Use pthread_t type in libthread_xu.
    
     Separated from upcoming work to allow easier differentiation between
     non-pointers, single and double pointers.  Inclusion of thr_private.h
     already provides all needed information to dereference these types.
    
     No functional change

Summary of changes:
 lib/libthread_xu/thread/thr_affinity.c       |  4 +-
 lib/libthread_xu/thread/thr_barrier.c        |  2 +-
 lib/libthread_xu/thread/thr_cancel.c         | 12 +++---
 lib/libthread_xu/thread/thr_clean.c          |  4 +-
 lib/libthread_xu/thread/thr_cond.c           | 14 +++----
 lib/libthread_xu/thread/thr_create.c         |  8 ++--
 lib/libthread_xu/thread/thr_detach.c         |  2 +-
 lib/libthread_xu/thread/thr_distribute.c     |  4 +-
 lib/libthread_xu/thread/thr_event.c          |  6 +--
 lib/libthread_xu/thread/thr_exit.c           |  6 +--
 lib/libthread_xu/thread/thr_fork.c           |  8 ++--
 lib/libthread_xu/thread/thr_getschedparam.c  |  2 +-
 lib/libthread_xu/thread/thr_getthreadid_np.c |  2 +-
 lib/libthread_xu/thread/thr_info.c           |  4 +-
 lib/libthread_xu/thread/thr_init.c           |  8 ++--
 lib/libthread_xu/thread/thr_join.c           |  6 +--
 lib/libthread_xu/thread/thr_kern.c           | 12 +++---
 lib/libthread_xu/thread/thr_kill.c           |  2 +-
 lib/libthread_xu/thread/thr_list.c           | 39 +++++++++--------
 lib/libthread_xu/thread/thr_mutex.c          | 46 ++++++++++-----------
 lib/libthread_xu/thread/thr_private.h        | 61 ++++++++++++++-------------
 lib/libthread_xu/thread/thr_pspinlock.c      | 14 +++----
 lib/libthread_xu/thread/thr_resume_np.c      | 10 ++---
 lib/libthread_xu/thread/thr_rwlock.c         | 12 +++---
 lib/libthread_xu/thread/thr_sem.c            |  4 +-
 lib/libthread_xu/thread/thr_setschedparam.c  |  2 +-
 lib/libthread_xu/thread/thr_sig.c            | 14 +++----
 lib/libthread_xu/thread/thr_spec.c           | 10 ++---
 lib/libthread_xu/thread/thr_spinlock.c       |  8 ++--
 lib/libthread_xu/thread/thr_stack.c          |  6 +--
 lib/libthread_xu/thread/thr_suspend_np.c     | 12 +++---
 lib/libthread_xu/thread/thr_syscalls.c       | 62 ++++++++++++++--------------
 32 files changed, 201 insertions(+), 205 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/940be950819fa932cd401a01f1182bf686a2e61e


-- 
DragonFly BSD source repository


More information about the Commits mailing list