Subj : Re: Futexes are wrong! (Are they?) To : comp.programming.threads From : David Hopwood Date : Mon Jun 13 2005 02:19 am David Schwartz wrote: > "David Hopwood" wrote: >>David Schwartz wrote: >>>"Jomu" wrote: > >>>>And that lot is simply not impressing me. 15000 context switches per >>>>second brokes no sweat on $100 P4 CPU. > >>> This is your fundamental mistake, and you make it over and over. You >>>should not be designing to an implementation but to a standard. > >>It's silly to say that you shouldn't take into account the performance of >>widely available hardware. > > Even at the architectural level? Yes. Whatever level of design you're working at, it is perfectly reasonable to take into account the performance of the hardware platforms that are eventually likely to be used. It would not be sensible, for instance, to design a system for a desktop PC as if it were going to run on a 8-bit microcontroller. Although it's common to want some degree of hardware independence, that doesn't mean you start out designing a system having no idea what kind of hardware it will run on. -- David Hopwood .