From owner-p4-projects@FreeBSD.ORG Mon Apr 7 16:15:39 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2978E37B405; Mon, 7 Apr 2003 16:15:39 -0700 (PDT) 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 96D9437B401 for ; Mon, 7 Apr 2003 16:15:38 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2222843FEA for ; Mon, 7 Apr 2003 16:15:38 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h37NFb0U046830 for ; Mon, 7 Apr 2003 16:15:37 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h37NFbhh046827 for perforce@freebsd.org; Mon, 7 Apr 2003 16:15:37 -0700 (PDT) Date: Mon, 7 Apr 2003 16:15:37 -0700 (PDT) Message-Id: <200304072315.h37NFbhh046827@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 28459 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 23:15:40 -0000 http://perforce.freebsd.org/chv.cgi?CH=28459 Change 28459 by marcel@marcel_pluto1 on 2003/04/07 16:15:30 IFia64 Affected files ... .. //depot/projects/ia64_epc/lib/libthr/arch/ia64/Makefile.inc#1 branch .. //depot/projects/ia64_epc/lib/libthr/arch/ia64/ia64/_curthread.c#1 branch .. //depot/projects/ia64_epc/lib/libthr/thread/thr_create.c#2 integrate .. //depot/projects/ia64_epc/lib/libthr/thread/thr_gc.c#2 integrate .. //depot/projects/ia64_epc/lib/libthr/thread/thr_kern.c#2 integrate Differences ... ==== //depot/projects/ia64_epc/lib/libthr/thread/thr_create.c#2 (text+ko) ==== @@ -187,7 +187,7 @@ ret = thr_create(&new_thread->ctx, &new_thread->thr_id, flags); if (ret != 0) { - _thread_printf("thr_create() == %d\n", ret); + _thread_printf(STDERR_FILENO, "thr_create() == %d\n", ret); PANIC("thr_create"); } ==== //depot/projects/ia64_epc/lib/libthr/thread/thr_gc.c#2 (text+ko) ==== @@ -178,7 +178,7 @@ */ if ((ret = pthread_cond_timedwait(&_gc_cond, &_gc_mutex, &abstime)) != 0 && ret != ETIMEDOUT) { - _thread_printf("ret = %d", ret); + _thread_printf(STDERR_FILENO, "ret = %d", ret); PANIC("gc cannot wait for a signal"); } } ==== //depot/projects/ia64_epc/lib/libthr/thread/thr_kern.c#2 (text+ko) ==== @@ -34,6 +34,7 @@ #include #include #include +#include #include "thr_private.h" @@ -69,14 +70,15 @@ #if 0 error = __sys_sigprocmask(SIG_SETMASK, &set, &sav); if (error) { - _thread_printf(0, "GIANT_LOCK: sig err %d\n", errno); + _thread_printf(STDERR_FILENO, "GIANT_LOCK: sig err %d\n", + errno); abort(); } #endif error = umtx_lock(&_giant_mutex, pthread->thr_id); if (error) { - _thread_printf(0, "GIANT_LOCK: %d\n", errno); + _thread_printf(STDERR_FILENO, "GIANT_LOCK: %d\n", errno); abort(); } @@ -99,7 +101,7 @@ error = umtx_unlock(&_giant_mutex, pthread->thr_id); if (error) { - _thread_printf(0, "GIANT_UNLOCK: %d\n", errno); + _thread_printf(STDERR_FILENO, "GIANT_UNLOCK: %d\n", errno); abort(); } @@ -109,7 +111,8 @@ */ error = __sys_sigprocmask(SIG_SETMASK, &set, NULL); if (error) { - _thread_printf(0, "GIANT_UNLOCK: sig err %d\n", errno); + _thread_printf(STDERR_FILENO, "GIANT_UNLOCK: sig err %d\n", + errno); abort(); } #endif