From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f48e5,b8c8a37987b8d8c2,start X-Google-Attributes: gidf48e5,public X-Google-Thread: 101626,b8c8a37987b8d8c2,start X-Google-Attributes: gid101626,public X-Google-Thread: 10ac37,b8c8a37987b8d8c2,start X-Google-Attributes: gid10ac37,public X-Google-Thread: 1014db,b8c8a37987b8d8c2,start X-Google-Attributes: gid1014db,public X-Google-Thread: 1164f8,b8c8a37987b8d8c2,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 112c15,b8c8a37987b8d8c2,start X-Google-Attributes: gid112c15,public X-Google-Thread: 1051a8,b8c8a37987b8d8c2,start X-Google-Attributes: gid1051a8,public X-Google-ArrivalTime: 1991-10-07 09:46:32 PST Path: gmdzi!unido!mcsun!uunet!cs.utexas.edu!utgpu!watserv1!maytag!pabuhr From: pabuhr@maytag.waterloo.edu (Peter A. Buhr) Newsgroups: comp.sys.sequent,comp.sys.sgi,comp.sys.encore,comp.sys.dec,comp.sys.mips,comp.sys.apollo,comp.lang.c Subject: uSystem Version 4.4 Message-ID: <1991Oct7.121934.24321@maytag.waterloo.edu> Date: 7 Oct 91 12:19:34 GMT Organization: University of Waterloo Xref: gmdzi comp.sys.sequent:930 comp.sys.sgi:111885 comp.sys.encore:917 comp.sys.dec:25466 comp.sys.mips:1713 comp.sys.apollo:60169 comp.lang.c:108649 I would like to announce, to any interested parties, the availability of Version 4.4 of the uSystem (pronounced micro-system), a library of C routines that provide light-weight concurrency on uniprocessor and multiprocessor computers running the UNIX operating system. Version 4.4 has additional features and bug fixes from version 4.3.3, which was made available on Apr 20, 1991. Deletions: 1. The command parcc will be removed as it seems superfluous with the -multi flag on concc. The command parcc is still available, for backwards compatibility, but users of the uSystem should change any shell scripts to use concc -multi, and should not use parcc in the future. Additions: 1. The socket routines uSsend, uSendto, uSendmsg, uRecv, uRecvfrom, and uRecvmsg were put back. Even though we cannot support out-of-band communication, these routines can still be used for connectionless sockets. 2. A small change was made to the exception handling capabilities and a signal-like mechanism called interventions was added. Interventions can be performed asynchronously among tasks. The mechanisms for handling abnormal situations in the uSystem are largely complete. 3. The reference manual is now setup to generate a full or abridged form. The abridged form is useful for teaching purposes. As well, the manual has been modified a little. 4. Removed some signal handlers from the unikernel since they were only used in the multikernel. No functionality is gained or lost, but it could make porting the unikernel version a little easier. 5. Renamed the uError routine to uAbort, since that is really what it does. The name uError is still accepted, for backwards compatibility, but users of the uSystem should change their code to use uAbort, and should not use uError in the future. 6. Profiling has been re-vamped. The environment variable PROFDIR is now used to specify where the multiple profiling files from a multiprocessor program are placed. See the reference manual for more information. Profiling should now work on a number of UNIX systems on which the uSystem runs. 7. The UNIX process for the system cluster no longer overwrites the core file for any UNIX process of a user cluster(s) that terminates with an error. This should make it possible to do some reasonable debugging using gdb. 8. Added a uExit routine which does the same thing as exit but does it properly for multiprocessors applications. Fixes: 1. Fixed several bugs in the non-blocking I/O routines. 2. Fixed an I/O problem on MIPS RISC/os 4.52 and SUN 4.1 which caused an infinite loop printing output to terminals. 3. Removed a spurious '!' character at the beginning of the license agreements that was causing a LaTeX formatting problem. 4. Fixed the CONFIGURE script to properly identify an Ultrix 4.0 system. The "uname" command under Ultrix 4.0 returns 0.0 rather than 4.0. 5. Modified uStream module. We've discovered that stdio doesn't get along with non-blocking (FNDELAY) file descriptors, so on output, tty streams are not set into non-blocking mode. 6. uKernel exceptions which previously used the current coroutine as associated data now use NULL. 7. The uRecv* routines correctly return the peer address, if solicited. 8. The uMigrate routine is changed so that a task can only migrate itself. The previous uMigrate allowed one task to migrate another task; however, it was undefined when the other task would actually be migrated. This was causing problems so the feature was removed. Unfortunately, this is going to cause any program with a call to uMigrate to break. We apologies for causing this problem. 9. The multiprocessor version of the uSystem should shutdown properly even if the invoking shell does not have job control. When an interrupt occurs, the uSystem now kills all of its child processes individually, instead of using a group kill. So multiprocessor users should not have lots of active processes laying around after interrupting a multiprocessor application. Version 4.4 of the uSystem can be obtained by anonymous ftp from the following location: watmsg.waterloo.edu (129.97.141.9) pub/uSystem/uSystem.tar.Z (Note the new IP address for watmsg.) The distribution file is in compressed tar format. Execute the following command to unpack the source: % zcat uSystem.tar.Z | tar -xf - The README file contains all the installation instructions. Good luck and happy concurrency. A postscript version of the uSystem manual is available in the same ftp directory as the uSystem, called uSystem.ps. It contains a copy of the uSystem documentation that has been formatted for 8.5x11 paper using LaTeX and then converted to postscript. This has been made available because some people have had problems LaTeXing the documentation that comes with the uSystem distribution. Normally, it is unnecessary to retrieve this file. The uSystem runs on the following processors: M68000 series, NS32000 series, VAX, MIPS, Intel 386, Sparc, and the following UNIX operating systems: - generic BSD 4.{2,3} - UNIX System V that has BSD system calls "setitimer" and a "sigcontext" passed to signal handlers which contains the location of the interrupted program - Apollo SR10 BSD - Sun OS 4.x - Tahoe BSD 4.3 - Ultrix 3.x/4.x - DYNIX - Umax 4.3 - IRIX 3.3 The uSystem requires at least GNU C 1.37.1. For the Encore and Sequent Balance, GNU C version 1.37.1 must be patched with the supplied patches. The uSystem will NOT compile using other compilers. (Don't even think about it!) There is a Software-Practice and Experience paper about version 4.1 of the uSystem in the Sept 1990 issue. The uSystem is being used to build a highly concurrent post-relational database here at Waterloo. It is also being used for teaching purposes here and at: University of Sydney, Sydney, Australia, contact Michael Wise, michaelw@cs.su.oz.au Algemene Hogeschool Amsterdam, Amsterdam, The Netherlands, contact Andre v.d. Vlies, andre@maestro.htsa.aha.nl Except for small additions and bug fixes, development work on the uSystem is largely frozen. Currently, all our efforts are directed towards uC++, a concurrent dialect of C++. uC++ supports all the features of the uSystem but all communication is statically type-safe. uC++ is running locally and is being tested this term in an undergraduate course. We hope to have a version for general release at the beginning of '92. For those interested in uC++, a postscript file containing the preliminary uC++ reference manual is available in the same directory as the uSystem, called uC++.ps.