DragonFly commits List (threaded) for 2009-04
DragonFly BSD
DragonFly commits List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.610.g390e5 master lib/libc/stdtime localtime.c


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Apr 2009 00:12:19 -0700 (PDT)

commit 390e5ad7ecd7e3e572158322353dd42c8c0e2691
Author: Peter Avalos <pavalos@theshell.com>
Date:   Fri Jan 16 22:37:59 2009 -0500

    Reduce lock contention for simple cases in stdtime.
    
    Normally, we are often reading local time rather than setting time zone,
    replace mutex with rwlock, this should eliminate lock contention in
    most cases.
    
    Obtained-from: FreeBSD

Summary of changes:
 lib/libc/stdtime/localtime.c |  113 ++++++++++++++++++++++++++++-------------
 1 files changed, 77 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/390e5ad7ecd7e3e572158322353dd42c8c0e2691


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]