i haven't seen any potential deadlock scenarios in your code, but this looks dangerous
defininte segfault potential there.Code:void *ThreadAttempt::thread_init(void *arg){ ((ThreadAttempt *) arg)->thread_function(); }
i haven't seen any potential deadlock scenarios in your code, but this looks dangerous
defininte segfault potential there.Code:void *ThreadAttempt::thread_init(void *arg){ ((ThreadAttempt *) arg)->thread_function(); }