Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 24277 invoked from network); 19 Jul 2006 14:41:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2006 14:41:28 -0000 Received: (qmail 3326 invoked by uid 500); 19 Jul 2006 14:41:27 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 3294 invoked by uid 500); 19 Jul 2006 14:41:27 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 3282 invoked by uid 99); 19 Jul 2006 14:41:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 07:41:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 07:41:26 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E738D714283 for ; Wed, 19 Jul 2006 14:39:16 +0000 (GMT) Message-ID: <23922956.1153319956944.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 07:39:16 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Assigned: (HARMONY-7) Compliance of system calls with POSIX standards and native Windows standards MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-7?page=all ] Geir Magnusson Jr reassigned HARMONY-7: --------------------------------------- Assignee: (was: Geir Magnusson Jr) > Compliance of system calls with POSIX standards and native Windows standards > ---------------------------------------------------------------------------- > > Key: HARMONY-7 > URL: http://issues.apache.org/jira/browse/HARMONY-7 > Project: Harmony > Issue Type: Improvement > Components: VM > Environment: All platforms, in particular Solaris 9, Windows XP, Windows (CygWin), > and Mac OS-X at this time. > Reporter: Bootstrap JVM (Daniel Lydick) > > The original development was done on a Solaris 9 platform and > there was a significant attempt to write all code in a way that would > be easy to set up on any platform that could compile ANSI 'C'. However, > in the interest of getting the first cut out the door, certain shortcuts > were taken just to get it working on the original platform. > One of these was the use of the Solaris yield(2) system call as > found in 'bootJVM/jvm/src/timeslice.c'. Geir Magnusson has > annotated this issue here and stubbed out yield(2) for the > Windows platform so he could complete his initial compilation > for CygWin. Someone needs to check and see if yield(2) is a > POSIX call. If not, the POSIX equivalent should be substituted. > (Notice that this source file has numerous library calls not found > in your typical application program, including signal(3), setitimer(3), > pthread_create(3) and the like). > Since the GCC compiler for CygWin has a number of libraries > which certainly include POSIX system calls, it might be worth > the while to see if that reference could be applied to both the > original Solaris implementation _and_ the CygWin compile > that he did. It might also then be a good idea to see if either > this or a native Windows equivalent might be available for the > native Windows compilation, and what native Windows library > calls should be used for the other uncommon library functions > found in this source file. ('timeslice.c' is probably the most > OS-dependent source file in the whole program.) > Another item: Someone should take Geir's CygWin compilation > (done on Windows XP) and compile it in a native Windows > environment to see if any more adjustments needed to get it to > compile there as opposed to CygWin. The main reasons are > described in the preceding paragraph. (Remember, though, > that I am still working on some crucial parts of the runtime and > not all virtual opcodes are implemented, although this will > certainly change in the near future.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira