diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-09-20 13:50:39 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-09-20 13:50:39 -0700 |
commit | 7cbba13a1be4928705148de359c3cf14a6552b71 (patch) | |
tree | 519f45c8ea11e969dca0c47e11640bdc99e41ef8 /README | |
parent | 2d02974c708ab9fe1e690e902c94ba0bff5a4dd0 (diff) | |
download | raindrops-7cbba13a1be4928705148de359c3cf14a6552b71.tar.gz |
No more GCC 4.x dependency!
Diffstat (limited to 'README')
-rw-r--r-- | README | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -3,8 +3,7 @@ Raindrops is a real time stats package to show statistics for Rack HTTP servers. It is designed for preforking servers such as Rainbows! and Unicorn, but should support any Rack HTTP server under Ruby 1.9, 1.8 and -possibly Rubinius (untested) on platforms supporting POSIX shared memory -and compiled with GCC (for atomic builtins). +possibly Rubinius (untested) on platforms supporting POSIX shared memory. Raindrops includes a Struct-like Raindrops::Struct class that may be used standalone to create atomic counters shared across any number of forked @@ -35,9 +34,12 @@ processes under SMP. == Install -raindrops requires GCC 4.x (or compatible) or later to support the -atomic builtins (__sync_{add,sub}_and_fetch()). Atomic operations on -other compilers may be supported if there is demand. +We recommend GCC 4+ (or compatible) to support the +{atomic builtins}[http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html] +(__sync_{add,sub}_and_fetch()). For non-GCC 4+ users, we also support +compilation with the +{libatomic_ops}[http://www.hpl.hp.com/research/linux/atomic_ops/] +package starting with Raindrops 0.4.0. If you're using a packaged Ruby distribution, make sure you have a C compiler and the matching Ruby development libraries and headers. |