mutex-locks
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > mutex-locks




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    mutex-locks  
Mona


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 12:49 PM

Why mutex_locks cannot be held across context-switches ? Can anyone
explain this .






[ Post a follow-up to this message ]



    Re: mutex-locks  
David Schwartz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 12:49 PM


"Mona" <indian.monalisa@gmail.com> wrote in message
news:1103619833.967517.293940@f14g2000cwb.googlegroups.com...

> Why mutex_locks cannot be held across context-switches ? Can anyone
> explain this .

They can. What are you talking about exactly?

DS







[ Post a follow-up to this message ]



    Re: mutex-locks  
Måns Rullgård


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 12:49 PM

"Mona" <indian.monalisa@gmail.com> writes:

> Why mutex_locks cannot be held across context-switches ? Can anyone
> explain this .

What sort of mutexes?  I'm not aware of any with this limitation,
which, if I understand you correctly, would make them quite pointless.

--
Måns Rullgård
mru@inprovide.com





[ Post a follow-up to this message ]



    Re: mutex-locks  
Mona


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 12:49 PM

I was reading abot mutex_locks properities in SVR4 MP, where it was
documented saying mutex_locks are acquired and required on
context_switches. The reason for this we don't want each sleep
systemcall to store data related locking. I  was looking for e.g
explaination.






[ Post a follow-up to this message ]



    Re: mutex-locks  
Mona


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 12:49 PM

Mutex_locks for kernel.






[ Post a follow-up to this message ]



    Re: mutex-locks  
Casper H.S. Dik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 10:56 PM

"Mona" <indian.monalisa@gmail.com> writes:

>I was reading abot mutex_locks properities in SVR4 MP, where it was
>documented saying mutex_locks are acquired and required on
>context_switches. The reason for this we don't want each sleep
>systemcall to store data related locking. I  was looking for e.g
>explaination.

That's a really odd implementation; you'd need to ask whoever did
SVR4 MP.  (No, Solaris does not derive from SVR4 MP)

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:12 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register