headless vm changes suggestions

Craig Latta Craig.Latta at NetJam.ORG
Mon Mar 23 18:28:44 UTC 1998


Hi John--

> Just to clarify: this issue is Win32-specific. The way Win32 signals
> changes of network socket status (data arrivied, other end closed, etc.)
> is through events that are placed in the window's event list.
> On other platforms, such notifications are handled in other ways,
> such as by using an asynchronous callback.

 Did my previous message on this subject get through?

 Win32s supports threads. For each socket, one could have a thread for
reading/connecting, and a thread for writing, and use blocking procedure calls
in each. The procedure calls themselves conform to the BSD sockets API (like
the other platforms), and the thread overhead is small, whereas the win32s
async stuff is unique and platform-dependent.

 Why not do this?


 thanks,

-C


--
Craig Latta
composer and computer scientist
Craig.Latta at NetJam.ORG
 www.netjam.org
latta at interval.com
Smalltalkers do: [:it | All with: Class, (And love: it)]





More information about the Squeak-dev mailing list