Displaying 1 result from an estimated 1 matches for "optimizedmutex".
2006 Nov 09
6
OptimizedMutex for Mongrel
...already did the Mutex patch to use unshitf and pop instead of shift
and push and it didn''t really help much. The mem leak only really
shows up when you use the wsess option to httperf.
The other day I saw a ruby C extension that Mentalguy built called
optimized_locking. It has an OptimizedMutex class that is written in
C. Its actually pretty small amount of C code and fairly easy to
understand.
Anyway, long story short, I patch the latest mongrel trunk and added
this optimized_locking.c in as another C extension that gets built
when you make the gem. It has helped quite a bit wi...