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 - Remove SDL_KillThread()
Summary: Remove SDL_KillThread()
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: thread (show other bugs)
Version: 2.0.0
Hardware: All All
: P2 API change
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 06:00 UTC by Sam Lantinga
Modified: 2008-11-23 20:52 UTC (History)
0 users

See Also:


Attachments
Patch to gut SDL_KillThread(). (9.52 KB, patch)
2006-10-28 21:09 UTC, Ryan C. Gordon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.