git: pthread: Prefer explicit return on error.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Mon Sep 26 00:33:03 PDT 2016
commit 8979fd9c709eea22cd5e64a5e191a15ca8e1e35b
Author: zrj <rimvydas.jasinskas at gmail.com>
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
More information about the Commits
mailing list