git: pthreads: Reduce pthread type namespace pollution.

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


commit 514061bbed232a43742c18d8d1759bc0f42ed658
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Dec 8 10:36:12 2020 +0000

    pthreads: Reduce pthread type namespace pollution.
    
     This fully removes pthread types in kernel (except vkernel).
     The vkernel bits first require <signal.h> exposure adjustments.
     * Exclude type for sigev_notify_attributes for kernel, used only by the
       lib/librt/aio.c.  We could use void type unconditionally like NetBSD,
     * Do not provide pthread_attr_t in <sys/aio.h> for kernel.

Summary of changes:
 sys/platform/vkernel64/include/md_var.h |  3 +++
 sys/sys/aio.h                           |  2 ++
 sys/sys/signal.h                        | 11 +++++++++--
 sys/sys/types.h                         |  2 ++
 4 files changed, 16 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/514061bbed232a43742c18d8d1759bc0f42ed658


-- 
DragonFly BSD source repository


More information about the Commits mailing list