The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.programming.threads, comp.unix.programmer
Followup-To: comp.programming.threads
From: Giancarlo Niccolai <no...@nothing.it>
Date: Fri, 16 Jul 2004 11:32:32 +0200
Local: Fri, Jul 16 2004 5:32 am
Subject: Re: recursive mutexes
red floyd wrote: Other than Mr. Schwartz reply (which I consider absolutely good), I may add > Alexander Terekhov wrote: >> red floyd wrote: ... >> Don't use recursive mutexes. It's akin to sex with used condoms. ;-) >> regards, > May I ask why? also that recursive mutexes are slower (they must check if they are locked or not) and brings you to program less carefully about shared resource usage. If you stop to think twice about that, you'll realize that when you want to lock a resource, you just want to know that you are the owner of that, and not that you've been entitled to be the owner N times... The only reason I can see for recursive mutexes is to call recursive Giancarlo. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||