Subj : Re: Lock Free -- where to start To : comp.programming.threads From : Joe Seigh Date : Thu Sep 29 2005 04:22 pm David Schwartz wrote: > "Joe Seigh" wrote in message > news:XfydndTAWZcgvqHeRVn-jQ@comcast.com... > > >>Lock-free is about scalability, not the actual overhead. If you know >>your >>application will never experience high contention or you don't care about >>scalability then you should stick with conventional lock based solutions. > > > The point is, locks allow you to avoid high contention (by scheduling > tasks that don't contend). Lock free algorithms, in general, force you to > suffer through it (by allowing contending tasks to continue attempting to > run in parallel). > So you're saying lock based solutions will scale better then lock-free ones? -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .