From owner-p4-projects@FreeBSD.ORG Fri Jul 14 04:46:22 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 22ED516A4E1; Fri, 14 Jul 2006 04:46:22 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFE5E16A4DE for ; Fri, 14 Jul 2006 04:46:21 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE2FC43D49 for ; Fri, 14 Jul 2006 04:46:21 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6E4kLf7023847 for ; Fri, 14 Jul 2006 04:46:21 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6E4kLN5023844 for perforce@freebsd.org; Fri, 14 Jul 2006 04:46:21 GMT (envelope-from jb@freebsd.org) Date: Fri, 14 Jul 2006 04:46:21 GMT Message-Id: <200607140446.k6E4kLN5023844@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 101507 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 04:46:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=101507 Change 101507 by jb@jb_freebsd2 on 2006/07/14 04:46:05 Only build in the jump table if threads aren't being built into libc. Affected files ... .. //depot/projects/dtrace/src/lib/libc/include/libc_private.h#3 edit Differences ... ==== //depot/projects/dtrace/src/lib/libc/include/libc_private.h#3 (text+ko) ==== @@ -63,6 +63,7 @@ #define FLOCKFILE(fp) if (__isthreaded) _FLOCKFILE(fp) #define FUNLOCKFILE(fp) if (__isthreaded) _funlockfile(fp) +#ifndef LIBC_THREADS /* * Indexes into the pthread jump table. * @@ -136,6 +137,7 @@ typedef pthread_func_t pthread_func_entry_t[2]; extern pthread_func_entry_t __thr_jtable[]; +#endif /* * yplib internal interfaces