[dmd-concurrency] draft 6
Kevin Bealer
kevinbealer at gmail.com
Thu Jan 28 05:13:54 PST 2010
On Thu, Jan 28, 2010 at 12:46 AM, Andrei Alexandrescu <andrei at erdani.com>wrote:
> I'm done with basic messaging and entering the shared qualifier. I've
> reshuffled a fair amount of text, so you can expect new/improved material
> starting around section 4.5, "Exchanging Messages Between Threads".
>
> I'm looking for a good example of a class for explaining shared and
> synchronized. Right now I use Date, but I'm hoping for something more
> challenging that contains an indirection. Any ideas, please let me know.
> Thanks!
>
> The file is here:
>
> http://erdani.com/d/fragment.preview.pdf
>
>
> Andrei
>
Maybe an "environment" object that contains handles to system resources like
database handles, streams for writing to a printer, open files (like log
files) or sockets to other processes. The idea that a handle to a database
or printer is something you want to share should make sense to people but
leave you room to build something instructive.
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-concurrency/attachments/20100128/fb4d37de/attachment.htm>
More information about the dmd-concurrency
mailing list