Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » External resources » Interesteing RwLock implementation
Interesteing RwLock implementation [message #14991] Mon, 24 March 2008 18:52 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
http://appcore.home.comcast.net/~appcore/misc/rwmutex_win_hp p.html

Nice about it is that it seems to be as fast as normal mutex ("CriticalSection") for read path... (note that pthread rwlock read path is about 50% slower than pthread mutex...)

Now if I only understood fully how it works Smile

Mirek
Re: Interesteing RwLock implementation [message #14993 is a reply to message #14991] Mon, 24 March 2008 20:55 Go to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
luzr wrote on Mon, 24 March 2008 18:52

http://appcore.home.comcast.net/~appcore/misc/rwmutex_win_hp p.html

Nice about it is that it seems to be as fast as normal mutex ("CriticalSection") for read path... (note that pthread rwlock read path is about 50% slower than pthread mutex...)

Now if I only understood fully how it works Smile

Mirek

Well, I ask *you* about *your* library, so I suggest you ask *Chris Thomasson* about *his* library Cool .

I'm sure you've visited:

http://appcore.home.comcast.net/~appcore/]

and

comp.programming.threads

Werner
Previous Topic: Using HGE with Ultimate++
Next Topic: JUCE (widgets and library) GNU Public Licence
Goto Forum:
  


Current Time: Thu Mar 28 12:20:06 CET 2024

Total time taken to generate the page: 0.01576 seconds