commit 8979fd9c709eea22cd5e64a5e191a15ca8e1e35b
Author: zrj <[email protected]>
Date:   Mon Sep 19 11:41:17 2016 +0300

    pthread: Prefer explicit return on error.
    
    Easier to follow the logic.

Summary of changes:
 lib/libthread_xu/thread/thr_attr.c          | 27 ++++++-----
 lib/libthread_xu/thread/thr_cancel.c        | 16 +++----
 lib/libthread_xu/thread/thr_create.c        |  5 ++-
 lib/libthread_xu/thread/thr_getschedparam.c |  3 +-
 lib/libthread_xu/thread/thr_kill.c          |  9 ++--
 lib/libthread_xu/thread/thr_mutex.c         | 14 +++---
 lib/libthread_xu/thread/thr_pspinlock.c     | 69 ++++++++++++-----------------
 lib/libthread_xu/thread/thr_rwlockattr.c    |  2 +-
 8 files changed, 66 insertions(+), 79 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8979fd9c709eea22cd5e64a5e191a15ca8e1e35b


-- 
DragonFly BSD source repository

Reply via email to