threading models [RE: [Music Bits] Pansy Division.]

Joe Barrera (joebar@MICROSOFT.com)
Mon, 17 Aug 1998 08:56:10 -0700


> > Yep, that's pretty much how I felt after a year of dealing with the Ada
> > tasking model.

> Yes, I'm sure Visual Basic had a much better concurrency model
> in 1983. Maybe even Visual C++ ten years later. Oh, wait, C++
> doesn't have concurrency constructs built into the language, does it?

No, not built in. And yet, amazingly enough, it still has a better model
than Ada. :-)

More seriously, in the C/C++ world, pretty much everyone uses a
POSIX-threads-like model, where you can create a new thread running a
specified function with a (void*) argument, and various synchronization
objects are available to the threads (recursive and non-recursive locks,
etc.). It's a nice simple model to implement, yet powerful enough to build
monitors, rendezvous, etc. on top of.

- Joe