From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <3e1162e60909031156l54ad6e1jbce390dfbe697718@mail.gmail.com> Date: Thu, 3 Sep 2009 12:13:34 -0700 Message-ID: <3e1162e60909031213k5209f296vb0a77ff858e45496@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd488b216a8370472b12e3a Subject: Re: [9fans] "Blocks" in C Topicbox-Message-UUID: 61f73e58-ead5-11e9-9d60-3106f5b1d025 --000e0cd488b216a8370472b12e3a Content-Type: text/plain; charset=ISO-8859-1 On Thu, Sep 3, 2009 at 11:58 AM, erik quanstrom wrote: > > Apple's using it all over the place in Snow Leopard, in all their native > > apps to write cleaner, less manual-lock code. At least, that's the claim > > :-). > > could someone explain this to me? i'm just missing how > naming a block of code could change its locking properties. > > The explanation is in the manual I linked to earlier in this discussion. If you want to see examples there's two I can think of available for download. One is called DispatchLife the other is DispatchFractal. I've looked at DispatchLife, and there's no explicit locking of state for every cell being concurrently update in Conway's game of life. Dave > - erik > > --000e0cd488b216a8370472b12e3a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Sep 3, 2009 at 11:58 AM, erik qu= anstrom <quan= stro@quanstro.net> wrote:
> Apple's using it all over the place in Snow Leop= ard, in all their native
> apps to write cleaner, less manual-lock code. =A0At least, that's = the claim
> :-).

could someone explain this to me? =A0i'm just missing how
naming a block of code could change its locking properties.


The exp= lanation is in the manual I linked to earlier in this discussion. =A0If you= want to see examples there's two I can think of available for download= . =A0One is called DispatchLife the other is DispatchFractal.

I've looked at DispatchLife, and there's no exp= licit locking of state for every cell being concurrently update in Conway&#= 39;s game of life. =A0

Dave
=A0
- erik


--000e0cd488b216a8370472b12e3a--