Re: [sablevm-jchevm] Windows port

Enrico Migliore <[email protected]> Mon, 10 Apr 2006 09:13:40 +0200
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization -
Message-ID <[email protected]>
>Hi Enrico,
>
>Enrico Migliore wrote:
>  
>
>>Could you be more specific on the porting layer you've got in mind?
>>What I would do is:
>>... 
>>    
>>
>
>You're trying to do it the hard way.  I had a simpler approach in mind.
> I would simply use:
>
>https://svn.apache.org/repos/asf/incubator/harmony/enhanced/classlib/trunk/native-src/shared/thread
>
>You should definitely give a look at the first figure of:
>
>http://svn.apache.org/viewcvs.cgi/*checkout*/incubator/harmony/enhanced/classlib/trunk/doc/vm_doc/html/index.html?rev=356417
>
>I was planning to adopt this very nice model, where system-specific code
>is abstracted out of the VM and of the class library, and then shared
>between them.
>
>  
>
Hi Etienne,

Let's see if I get your suggestion right:

 1. Use the "thin abstraction layer atop already-provided operating 
system support"

  
http://svn.apache.org/viewcvs.cgi/*checkout*/incubator/harmony/enhanced/classlib/trunk/doc/vm_doc/html/group__Thread.html

 2. Use #if defined (WIN32) to separate WIN32 from Linux code


Enrico