From owner-freebsd-java Sat Sep 25 16: 6:33 1999 Delivered-To: freebsd-java@freebsd.org Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.15.190]) by hub.freebsd.org (Postfix) with ESMTP id 500EF1532D; Sat, 25 Sep 1999 16:06:15 -0700 (PDT) (envelope-from mi@aldan.algebra.com) Received: from rtfm.newton (rtfm.newton [10.10.0.1]) by kot.ne.mediaone.net (8.9.3/8.9.1) with ESMTP id TAA08490; Sat, 25 Sep 1999 19:05:47 -0400 (EDT) From: Mikhail Teterin X-Relay-IP: 10.10.0.1 Received: (from mi@localhost) by rtfm.newton (8.9.3/8.9.1) id TAA81921; Sat, 25 Sep 1999 19:05:46 -0400 (EDT) Message-Id: <199909252305.TAA81921@rtfm.newton> Subject: Re: porting libjava to FreeBSD In-Reply-To: <199909252146.RAA26272@pcnet1.pcnet.com> from Daniel Eischen at "Sep 25, 1999 05:46:04 pm" To: Daniel Eischen Date: Sat, 25 Sep 1999 19:05:46 -0400 (EDT) Cc: java@FreeBSD.org, jb@cimlogic.com.au, jdp@polstra.com, obrien@FreeBSD.org X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" => 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 :-) Well, for one, this is a FreeBSD's limitation, not advantage, IMO. And secondly, libjava folks obviously don't know that... BTW, any plans on kernel-threading? So that two threads do run on two CPUs, if available?.. => => 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. Can one of the gurus, please, step out and make it then? Thank you... Yours, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message