Make threading functions global, like the mm_ functions. Use the libevent_pthread.la library in regress_pthread. svn:r1121