From owner-freebsd-current Sat May 30 18:07:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA06807 for freebsd-current-outgoing; Sat, 30 May 1998 18:07:14 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA06796 for ; Sat, 30 May 1998 18:07:11 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id SAA18476 for ; Sat, 30 May 1998 18:07:06 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199805310107.SAA18476@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: current@FreeBSD.ORG Subject: pthreads and thread-specific? In-reply-to: Your message of "Sun, 31 May 1998 10:25:00 +1000." <199805310025.KAA12864@cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 30 May 1998 18:07:06 -0700 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to get ACE up and running on -current/elf and it appears that the ACE's tests are not able to exit properly. Anyone got any clues or thread-specific tests to verify the behavior of threads? Tnks, Amancio {hasty} gdb-elf ./Barrier_Test GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc... (gdb) run Starting program: /usr/home/hasty/ace/ACE_wrappers/tests/./Barrier_Test ^C Program received signal SIGINT, Interrupt. 0x2818d5f0 in gettimeofday () (gdb) bt #0 0x2818d5f0 in gettimeofday () #1 0x2819afe7 in _thread_kern_set_timeout (timeout=0x0) at /usr/src/lib/libc_r/uthread/uthread_kern.c:680 #2 0x28199f25 in pthread_yield () at /usr/src/lib/libc_r/uthread/uthread_yield.c:48 #3 0x2819a0ad in _spinlock (lck=0x281d5c04) at /usr/src/lib/libc_r/uthread/uthread_spinlock.c:65 #4 0x2819a221 in _thread_cleanupspecific () at /usr/src/lib/libc_r/uthread/uthread_spec.c:178 #5 0x2819c7de in pthread_exit () at /usr/src/lib/libc_r/uthread/uthread_exit.c:180 #6 0x2816de50 in _thread_start () at /usr/src/lib/libc_r/uthread/uthread_create.c:205 ============= ACTIVE THREADS -------------------- Thread 0x8050a00 () prio 64 state Running [/usr/src/lib/libc_r/uthread/uthr ead_cond.c:331] -------------------- Thread 0x8050800 () prio 64 state Running [/usr/src/lib/libc_r/uthread/uthr ead_cond.c:331] This is the running thread -------------------- Thread 0x8050400 () prio 64 state Running [/usr/src/lib/libc_r/uthread/uthr ead_cond.c:331] -------------------- Thread 0x8050200 () prio 64 state Waiting on a condition variable [/usr/src /lib/libc_r/uthread/uthread_cond.c:163] This is the initial thread DEAD THREADS Thread 0x8050600 prio 64 [/usr/src/lib/libc_r/uthread/uthread_exit.c:176] ============= FILE DESCRIPTOR TABLE fd[ 5] read owner 0x0 count 0 [/usr/src/lib/libc_r/uthread/uthread_fstat.c: 49] write owner 0x0 count 0 [/usr/src/lib/libc_r/uthread/uthread_write.c :55] ~ ~ ~ ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message