[comp.soft-sys.andrew] LWP

yoshio@maui.cs.ucla.edu (Yoshio Turner) (10/10/89)

I've been told the Andrew Toolkit includes support for lightweight
processes.  Is this true?  If so, I will greatly appreciate any
pointers to the appropriate source files.  Thanks in advance.

Yoshio Turner
yoshio@cs.ucla.edu
...!{rutgers,uunet,ucbvax}!cs.ucla.edu!yoshio

yoshio@CS.UCLA.EDU (Yoshio Turner) (10/12/89)

I've been told the Andrew Toolkit includes support for lightweight
processes.  Is this true?  If so, I will greatly appreciate any
pointers to the appropriate source files.  Please email your response
directly to me.

Yoshio Turner
yoshio@cs.ucla.edu
...!{rutgers,uunet,ucbvax}!cs.ucla.edu!yoshio

zs01+@ANDREW.CMU.EDU (Zalman Stern) (10/12/89)

ATK can be compiled with support for the Andrew File System LWP package.
All this means is that when the ATK event loop does a select, it will
call the LWP package's select routine instead of the select system call.
This allows one to write applications which use both ATK and LWP
(typically, LWP is used to support something else like remote procedure
calls). The original inspiration for this was hx, a precursor to the
help program which queried a database over the network to speed up help
requests. The current version of help gets about the same level of
performance using the filesystem.

If you are interested in looking at the little bits of source that
support LWP, they are in the files
andrew/atk/basics/{common/im.c,xim/xim.c,wim/wim.c}. Look for "#ifdef
LWP".

My guess is that you are interested in something more substantial that
what is currently shipped in ATK.

Sincerely,
Zalman Stern
Internet: zs01+@andrew.cmu.edu     Usenet: I'm soooo confused...
Information Technology Center, Carnegie Mellon, Pittsburgh, PA 15213-3890