Page 1 of 1

Function to Kill a thread in LWP

Posted: Sat Dec 20, 2014 5:14 pm
by Oibaf
Is there a function to kill a thread in libogc? I mean a function similar to pthread_kill.

Looking at the code there is an internal function "__lwp_thread_close" to close a thread but there is not an external function.

Re: Function to Kill a thread in LWP

Posted: Sun Dec 28, 2014 7:12 am
by tueidj
Any situation where you need to kill a thread is a result of bad coding/design elsewhere.

Re: Function to Kill a thread in LWP

Posted: Sun Dec 28, 2014 11:27 am
by Oibaf
I agree, but I need it to implement SDL_KillThread in SDL Wii.