Subj : Re: Lock-free buffer To : comp.programming.threads From : David Schwartz Date : Sat Mar 05 2005 06:11 pm "SenderX" wrote in message news:YIGdnQIPcqUt27ffRVn-rQ@comcast.com... >> There are several techniques and it depends upon the application. One >> way is to wait until all threads that could have used the buffer pass a >> neutral point. > But you said set a timer, that means that you need the time before the > reader threads could get into a quiescent state. How could you possibly > predict the correct amount of time? It depends upon the application. There are definitely applications where you can predict the amount of time and applications where you can't. DS .