Archive of UserLand's first discussion group, started October 5, 1998.

Re: No Semaphores Rendering and Nirvana

Author:Dave Winer
Posted:1/21/1999; 7:14:53 AM
Topic:Troubleshooting a Nirvana Server installation
Msg #:2347 (In response to 2340)
Prev/Next:2345 / 2348

The semaphore is not needed if you fold it into a single line:

local (docId = prefs.docIdCount++)

A single script statement is guaranteed to be indivisible, you can't get swapped out in the middle of executing a statement.




This page was archived on 6/13/2001; 4:47:29 PM.

© Copyright 1998-2001 UserLand Software, Inc.