We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 205

Summary: Remove SDL_KillThread()
Product: SDL Reporter: Sam Lantinga <slouken>
Component: threadAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: API change    
Priority: P2    
Version: 2.0.0   
Hardware: All   
OS: All   
Attachments: Patch to gut SDL_KillThread().

Description Sam Lantinga 2006-04-27 06:00:46 UTC
In many operating systems and circumstances it's not safe to kill off a thread.  We should remove this function from the API.

For discussion: Should we provide an API for thread cancellation points?
Comment 1 Ryan C. Gordon 2006-10-28 21:09:05 UTC
Created attachment 175 [details]
Patch to gut SDL_KillThread().


This patch makes SDL_KillThread() a no-op, removes it from all the platform backends, and updates the comments in SDL_thread.h.

--ryan.
Comment 2 Ryan C. Gordon 2006-10-28 21:10:02 UTC
Tossing to Sam: commit the patch if you like it, please.

--ryan.

Comment 3 Sam Lantinga 2008-11-23 20:52:47 UTC
Committed revision 4125.