struct Baton {
void (*__pthread_set_self)(pthread_t);
-
int (*pthread_create)(pthread_t *, const pthread_attr_t *, void *(*)(void *), void *);
- int (*pthread_join)(pthread_t, void **);
-
- void *(*dlopen)(const char *, int);
- char *(*dlerror)();
- void *(*dlsym)(void *, const char *);
mach_port_t (*mach_thread_self)();
kern_return_t (*thread_terminate)(thread_act_t);
+ char *(*dlerror)();
+ void *(*dlsym)(void *, const char *);
+
pid_t pid;
char library[];
};