From owner-freebsd-java Fri May 24 14:48:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 1CDDF37B405 for ; Fri, 24 May 2002 14:47:39 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17BMuL-0000UN-00; Fri, 24 May 2002 14:47:33 -0700 Date: Fri, 24 May 2002 14:47:33 -0700 To: Daniel Eischen Cc: java@FreeBSD.org, Bill Huey Subject: Re: [Fwd: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.cuthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.cuthread_mutex.c uthread_priority_queue.c uthread_resume_np.cuthread_sig.c uthread_single_np.c uthread_spinlock.c ...] Message-ID: <20020524214733.GA677@gnuppy.monkey.org> References: <3CEDC3F8.C0764E58@vigrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CEDC3F8.C0764E58@vigrid.com> User-Agent: Mutt/1.3.28i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, May 24, 2002 at 12:39:20AM -0400, Daniel Eischen wrote: > Log: > Revamp suspend and resume. While I'm here add pthread_suspend_all_np() > and pthread_resume_all_np(). These suspend and resume all threads except > the current thread, respectively. The existing functions pthread_single_np() > and pthread_multi_np(), which formerly had no effect, now exhibit the same > behaviour and pthread_suspend_all_np() and pthread_resume_all_np(). These > functions have been added mostly for the native java port. I'll have a look at it and see if it'll do the job. ;) Another problem with the libc_r stuff is that the inclusion of pthread_private.h in a C++ program bombs complaining that you can't define a struct and typedef of the same identical name. I had to #ifdef-#endif that stuff out to get it to compile properly. I'm wondering here if I should get you a list of things that I use from that header and then maybe get some API support for it so that I don't have to screw with libc_r internals ? I believe the symbol "_initial_thread" is one of those things that I need. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message