From owner-freebsd-java Sat Sep 25 14:47:21 1999 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 34E421503C; Sat, 25 Sep 1999 14:47:16 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id RAA26272; Sat, 25 Sep 1999 17:46:04 -0400 (EDT) Date: Sat, 25 Sep 1999 17:46:04 -0400 (EDT) From: Daniel Eischen Message-Id: <199909252146.RAA26272@pcnet1.pcnet.com> To: eischen@vigrid.com, mi@aldan.algebra.com Subject: Re: porting libjava to FreeBSD Cc: java@FreeBSD.org, jb@cimlogic.com.au, jdp@polstra.com, obrien@FreeBSD.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mikhail Teterin wrote: > Daniel Eischen once stated: > > =John Polstra wrote: > => Ick. > = > =Ick indeed. > > This "icks" may offend the libjava people :) I removed them from the CC: Since FreeBSD threads run in one process, using a signal to suspend a thread _is_ icky :-) > => I think it would be better to suspend threads using > => pthread_suspend_np(). > = > =Yep. > > So, should I just patch it up, or would there be a need for > freebsd_threads.c anyway? Can one of the "thread people", please, send a > (even if untested) patch? The linux_threads.c is included for your > convenience. Yours, I would make a freebsd_threads.c and use other models as examples. Remember that FreeBSD threads are user threads, and some of the things the Linux thread support does, we don't have to. I don't know that Linux threads is a good model to use because of this. Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message