summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthreads/init.cc
blob: 24a131a60a547bc6b5c4ab3a6a2e2cb62e83addd (plain)
1
2
3
4
5
6
7
8
9

/*
 * 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;