mariadb/mit-pthreads/pthreads/init.cc
bk@work.mysql.com f4c589ff6c Import changeset
2000-07-31 21:29:14 +02:00

9 lines
281 B
C++

/*
* DO not delete this file. The hack here ensures that pthread_init() gets
* called before main does. This doesn't fix everything. It is still
* possible for a c++ module to reley on constructors that need pthreads.
*/
#include <pthread.h>
char __pthread_init_hack = 42;