[Vm-dev] There are something fishy with FFI plugin

Gary Chambers gazzaguru2 at btinternet.com
Wed Apr 25 17:55:57 UTC 2012


Was hoping to avoid doing another (trivial) plugin...

Regards, Gary

----- Original Message ----- 
From: "Andreas Raab" <andreas.raab at gmx.de>
To: <vm-dev at lists.squeakfoundation.org>
Sent: Wednesday, April 25, 2012 6:26 PM
Subject: Re: [Vm-dev] There are something fishy with FFI plugin


>
> On 4/25/2012 17:58, Gary Chambers wrote:
>>
>> I'll test out tomorrow...
>> Ideally we'd want the multithreaded VM at some point,
>> investigating direct USB devices on Windows. ReadFile blocks, of 
>> course...
>
> Of course. Two things you can do:
> 1) Use overlapped I/O completion routines. This is a bit tricky to get 
> right so it might be easier to implement option
> 2) Simply read from within a separate thread. I used this approach for 
> async file support; you can find prototypical code in 
> platforms/win32/plugins/AsynchFilePlugin
>
> Cheers,
>   -  Andreas
>
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Igor Stasenko" <siguctua at gmail.com>
>> To: "Squeak Virtual Machine Development Discussion" 
>> <vm-dev at lists.squeakfoundation.org>
>> Sent: Wednesday, April 25, 2012 4:44 PM
>> Subject: Re: [Vm-dev] There are something fishy with FFI plugin
>>
>>
>>>
>>> Fix confirmed.
>>> https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-VM/Architecture=32,OS=win/
>>> build >= #29,  FFI works fine..
>>>
>>> Thanks, Esteban.
>>>
>>>
>>>
>>> -- 
>>> Best regards,
>>> Igor Stasenko.
>>
>> 



More information about the Vm-dev mailing list