git: DragonFly_RELEASE_3_2 libthread_xu: Remove unnecessary calls to _thr_check_init()

Markus Pfeiffer profmakx at crater.dragonflybsd.org
Fri Mar 22 15:38:30 PDT 2013


commit 8153c1fc1e12afe8860a638fd2ee87c3902957ac
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/8153c1fc1e12afe8860a638fd2ee87c3902957ac


-- 
DragonFly BSD source repository



More information about the Commits mailing list