Callbacks from C into Squeak

David T. Lewis lewis at mail.msen.com
Wed Dec 20 16:58:57 UTC 2006


On Wed, Dec 20, 2006 at 11:13:35AM -0500, Jon Hylands wrote:
> On Wed, 20 Dec 2006 11:06:31 -0500, "David T. Lewis" <lewis at mail.msen.com>
> wrote:
> 
> > - With 4000 byte uninterpreted data messages, overall transaction
> >   time is under 0.5 msec per end-to-end transaction..
> 
> David,
> 
> For my latest robotics project (see signature link below for details), I'm
> planning on running two images on my Core Duo laptop -- one for running the
> "brain", and one for doing visual processing. The visual processing image
> will be passing a decent amount of data to the "brain" image, using sockets
> on localhost (is that what you did?)
> 
> What OS were you using for your test?

Jon,

This is on Linux (version 2.4) on a 166MHz Pentium. I'm using pipes
(as in pipe()) through the OSProcessPlugin that comes with the Squeak
Unix VM. I don't know what the results would look like using a socket
connection, but it might be quite similar. You could probably adapt
one of the tests in the change set that I sent, and see what happens.

Let me know if you get good results. Using sockets might be an easier
way to do this sort of thing on Windows (I never did figure out a good
way to do non-blocking OS pipes on Win32).

Dave




More information about the Squeak-dev mailing list