Re: [SLE] What is Mutex and why it cannot be destroied?
Sid Boyce
Terry Eck wrote:
[Mutex]
"Mutex destroy failure: Device or resource busy" What is this all about and is it something to be concerned about"
Running it as root, you will notice it says it's Reusing existing ksycoca, I think (as root) it's trying to kill kbuildksycoca (which is needed by other running kde programs) when you quit kcron.
Mutexes are there to stop races within a program when multiple accesses occur.... (snip)
I got intrigued. The topic had come up before in January: http://lists.suse.com/archive/suse-linux-e/2004-Jan/2133.html where Jerry Feldman gave a similar explaination to Sid's. I did a search at google.com/linux, and it returned an IBM article: "Basic use of pthreads," by Peter Seebach. Peter gave an origin of term Mutex: A mutex is short for MUTual EXclusion. and said, it is a way of keeping pthreads from stepping on each other. I found the article interesting: http://www-106.ibm.com/developerworks/linux/library/l-pthred.html?ca=dgr-lnx... When I was learning Fortan in the '60, nobody told me about pthreads or mutexes. Gar -- "FORTRAN is not a flower but a weed -- it is hardy, occasionally blooms, and grows in every computer." -- A.J. Perlis -- __________________________________________________________________ Introducing the New Netscape Internet Service. Only $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp
GarUlbricht7@netscape.net wrote:
Sid Boyce
wrote: Terry Eck wrote:
[Mutex]
"Mutex destroy failure: Device or resource busy" What is this all about and is it something to be concerned about"
Running it as root, you will notice it says it's Reusing existing ksycoca, I think (as root) it's trying to kill kbuildksycoca (which is needed by other running kde programs) when you quit kcron.
Mutexes are there to stop races within a program when multiple accesses occur.... (snip)
I got intrigued. The topic had come up before in January: http://lists.suse.com/archive/suse-linux-e/2004-Jan/2133.html where Jerry Feldman gave a similar explaination to Sid's.
I did a search at google.com/linux, and it returned an IBM article: "Basic use of pthreads," by Peter Seebach. Peter gave an origin of term Mutex:
A mutex is short for MUTual EXclusion.
and said, it is a way of keeping pthreads from stepping on each other. I found the article interesting:
http://www-106.ibm.com/developerworks/linux/library/l-pthred.html?ca=dgr-lnx...
When I was learning Fortan in the '60, nobody told me about pthreads or mutexes.
Gar
I don't know if they existed in the 60's, back then you wrote the whole program, all it's I/O handling and memory limits, things nobody cares about these days, though other things have surfaced to keep programmers honest. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
participants (2)
-
GarUlbricht7@netscape.net
-
Sid Boyce