git: libthread_xu: Remove unnecessary calls to _thr_check_init()
Markus Pfeiffer
profmakx at crater.dragonflybsd.org
Thu Mar 21 16:44:55 PDT 2013
commit 7e34b7e06dd14c2478b8cd5d2987858f857f9908
Author: Markus Pfeiffer <markus.pfeiffer at morphism.de>
Date: Tue Mar 19 18:57:36 2013 +0000
libthread_xu: Remove unnecessary calls to _thr_check_init()
With the previous commit it becomes unnecessary to check whether
libpthread has been initialised. This gets rid of some checks in
hot codepaths.
Summary of changes:
lib/libthread_xu/thread/thr_attr.c | 2 --
lib/libthread_xu/thread/thr_fork.c | 4 ----
lib/libthread_xu/thread/thr_mutex.c | 8 --------
lib/libthread_xu/thread/thr_self.c | 2 --
4 files changed, 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7e34b7e06dd14c2478b8cd5d2987858f857f9908
--
DragonFly BSD source repository
More information about the Commits
mailing list