Fixed bug 1936 - Broken URL in generic SDL_syscond.c

cp.ml.x.dev

A comment in 'src/thread/generic/SDL_syscond.c' references the URL 'http://www-classic.be.com/aboutbe/benewsletter/volume_III/Issue40.html', which cannot be resolved anymore. An alternative would be 'http://web.archive.org/web/20010914175514/http://www-classic.be.com/aboutbe/benewsletter/volume_III/Issue40.html#Workshop'.
This commit is contained in:
Sam Lantinga 2013-07-06 00:28:54 -07:00
parent 8ad9316ca3
commit cbc0db6e72

View file

@ -187,7 +187,7 @@ SDL_CondWaitTimeout(SDL_cond * cond, SDL_mutex * mutex, Uint32 ms)
the signaler can race ahead and get the condition semaphore the signaler can race ahead and get the condition semaphore
if we are stopped between the mutex unlock and semaphore wait, if we are stopped between the mutex unlock and semaphore wait,
giving a deadlock. See the following URL for details: giving a deadlock. See the following URL for details:
http://www-classic.be.com/aboutbe/benewsletter/volume_III/Issue40.html http://web.archive.org/web/20010914175514/http://www-classic.be.com/aboutbe/benewsletter/volume_III/Issue40.html#Workshop
*/ */
SDL_LockMutex(cond->lock); SDL_LockMutex(cond->lock);
if (cond->signals > 0) { if (cond->signals > 0) {