Allow threading to be configurable
DESC
Include compile-time options (#defines in config.h) to allow the use of
threading or not. This allows people running in one processor only to speed
the server up by not wasting time switching threads; but on the other hand the
win is not that much, so this patch might dissapear in some future.
EDESC
