Subj : Re: Lock Free -- where to start To : comp.programming.threads From : Joe Seigh Date : Wed Sep 28 2005 12:03 pm David Schwartz wrote: > Let me just give you my general caveat about lock free code. First, lock > free code is generally non-portable and extremely complex. Such code can > easily contain bugs that are extremely difficult even for experts to spot. > The complexity is almost always unnecessary. > [...] > > Lock free algorithms work great in kernels and low level threading > libraries for a variety of reasons. Portability is not that important. The > probability that there are other things to do is lower in core code (because > everything passes through it). But for application code, or even most > libraries on top of threading libraries, it's a pure loss. > So Java isn't portable or they shouldn't have put support for lock-free in Java or what? -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .