MREWS and Threading in the Night

So I wanted to look up what exactly MREWS is (I had a vague idea) and found this great resource: Multithreading - The Delphi Way by Martin Harvey version 1.1.

The introduction states:

This guide is intended for anyone who is interested in improving performance and responsiveness in their Delphi applications by using threads. It covers a range of topics from absolute beginner to intermediate level, and some of the real world examples raise issues bordering on the advanced. It assumes that the reader has a reasonable knowledge of Object Pascal programming, including simple object orientation, and a working understanding of event based programming.

A lot of really good information on threading there, and Chapter 11 even covers MREWS. Despite being last updated in 2000, I would say it is still a good reference.

It would appear that Martin Harvey originally published his paper elsewhere, but then the original site went down. Now it is mirrored on another server.

4 Responses to “MREWS and Threading in the Night”

  1. thaddy Says:

    This is shurely the best piece I have seen (I shadow it too at my site, although without code) but, the delphi threading code has significantly changed since this article (well, more booklet) was written so not all information regarding to code is up to date.
    Also note that, with most of the world now possesing multiple CPU boards, lockfree algoritims are far more important (because context switching is the bottleneck) and martin barely scratches that subject.

    Then again, it is both academically correct and actually readable, no mean feat on this subject

  2. Henry Bartlett Says:

    There is a slightly later version of this article (1.1a) in the WayBack archive at http://web.archive.org/web/20041112062343/http://www.pergolesi.demon.co.uk/prog/threads/ToC.html

  3. Jim Says:

    That is actually updated quite a bit. It has a whole new chapter and a lot of new code samples. There is a zip you can download too. http://web.archive.org/web/20041112062343/http://www.pergolesi.demon.co.uk/prog/threads/threads.zip

  4. onlinehg » Blog Archive » MREWS and Threading in the Night Says:

    [...] more here This entry was posted on Monday, October 8th, 2007 at 12:47 pm and is filed under pascal [...]

Leave a Reply