Subj : Re: Adding thread support for C... To : comp.programming.threads From : Joe Seigh Date : Fri Jul 22 2005 02:33 pm Mayan Moudgill wrote: > > I was wondering what features people wish "C" had that would make life > easier. [Obviously, we're talking about extensions to C, not standard C]. > > For instance, we could add a statement __barrier() {don't reorder memory > operations past this statement}, or a non-stack scope variable qualifier > __thread {this variable is thread private}. > > Anything else people wish they had in the language? > Actually, we're probably better off without it. Once they put thread support in C we'll be in the same situation Java is in where you can't add anything without adding support directly in Java itself, e.g. JSR 166. Where do you think the stuff they added in JSR 166 came from? -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .