From owner-cvs-src@FreeBSD.ORG Wed Dec 19 04:30:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E957816A41B; Wed, 19 Dec 2007 04:30:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DB5FC13C458; Wed, 19 Dec 2007 04:30:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBJ4UB2E018395; Wed, 19 Dec 2007 04:30:11 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBJ4UB7M018392; Wed, 19 Dec 2007 04:30:11 GMT (envelope-from imp) Message-Id: <200712190430.lBJ4UB7M018392@repoman.freebsd.org> From: Warner Losh Date: Wed, 19 Dec 2007 04:30:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/stdtime localtime.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 04:30:12 -0000 imp 2007-12-19 04:30:11 UTC FreeBSD src repository Modified files: lib/libc/stdtime localtime.c Log: Reduce lock contention for simple cases. # this really should be done with pthread_once, but I've debugged this code. Reviewed by: arch@ Revision Changes Path 1.42 +22 -16 src/lib/libc/stdtime/localtime.c