🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #159

C++ and multitasking

#159
From: Bjarne Stroustrup
Date: Mon, 14 Apr 1986 02:29
21 lines
1588 bytes
> From: reddy@uiucdcs.CS.UIUC.EDU
> Subject: C++ and multitasking
>
> I recall that the earlier Class-C had multitasking (or some simulation of
> it).  Has that been thrown out in C++?  Or, is there some library that
> provides it?

``C with classes'' had a library of classes and functions for event driven
simulation in the Simula-style. One of the original reasons for designing
``C with classes'', that is now C++, was to be able to have such a library.

The task library still exists (virtually unchanged), is in use, and is
shipped as part of the C++ library. It is documented in the C++ release
notes. Unfortunately, it only runs on VAXs and some 3Bs. It has been
ported to M68K machines, but the source is not shipped. It is good for
simulation, OK for many other uses of co-routines, and not suitable for
any form of real parallelism.

The main reason it is not described in the book is that I'm convinced that
given C++ as implemented today I or someone else can do a much better job
than I could using the first version of ``C with classes'' 6 years ago.
Technical Details
Message-ID: <5304@alice.uUCp>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!bellcore!petrus!scherzo!allegra!alice!bs

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!bellcore!petrus!scherzo!allegra!alice!bs
From: bs@alice.UucP (Bjarne Stroustrup)
Newsgroups: net.lang.c++
Subject: C++ and multitasking
Message-ID: <5304@alice.uUCp>
Date: Sun, 13-Apr-86 21:29:25 EST
Article-I.D.: alice.5304
Posted: Sun Apr 13 21:29:25 1986
Date-Received: Sun, 20-Apr-86 08:49:26 EST
Organization: Bell Labs, Murray Hill
Lines: 21