Function to Kill a thread in LWP

support for the powerpc toolchain
Post Reply
Oibaf
Posts: 34
Joined: Mon Jul 04, 2011 1:03 pm

Function to Kill a thread in LWP

Post by Oibaf » Sat Dec 20, 2014 5:14 pm

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.

tueidj
Posts: 40
Joined: Thu Dec 10, 2009 9:26 am

Re: Function to Kill a thread in LWP

Post by tueidj » Sun Dec 28, 2014 7:12 am

Any situation where you need to kill a thread is a result of bad coding/design elsewhere.

Oibaf
Posts: 34
Joined: Mon Jul 04, 2011 1:03 pm

Re: Function to Kill a thread in LWP

Post by Oibaf » Sun Dec 28, 2014 11:27 am

I agree, but I need it to implement SDL_KillThread in SDL Wii.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests