Talk:Barrier (computer science)
From Wikipedia, the free encyclopedia
[edit] Removed incorrect C# code sample
I removed a block of text and a code sample that explained how the C# lock syntax works. C# lock(foo) { blahblah } is just syntax sugar for C#'s vision of monitors and thus entirely distinct from the concept of a barrier. As should have been obvious from the existing text in the article.
If someone has a better sample, perhaps using a barrier primitive found in C# (if there is one), then by all means please reinstate it. As it stood, the article was more confusing than informative. 88.112.2.159 12:52, 15 July 2006 (UTC)