From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1d238a8aeb5c897a9b90fa97c4a29065@quanstro.net> From: erik quanstrom Date: Fri, 4 Sep 2009 08:14:48 -0400 To: 9fans@9fans.net In-Reply-To: <20090904071109.11C405B18@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] "Blocks" in C Topicbox-Message-UUID: 64070278-ead5-11e9-9d60-3106f5b1d025 > But this has no more to do with parallelism than any other > feature of C. If you used __block vars in a block, you'd > still need to lock them when the block is called from > different threads. that's a lot worse than a function pointer. with a function pointer your going to get unique space on the stack for each invocation. the variable capture thing seems to me to just confuse the issue. c doesn't otherwise work like that. - erik