README.AmigaOS
author Sam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 07:32:26 +0000
branchSDL-1.2
changeset 4209 62e86ab81e3c
parent 3888 6d2e1961661a
permissions -rw-r--r--
Fixed bug #570

SDL_SemWaitTimeout in src/thread/generic/SDL_syssem.c line 179 (SVN trunk):

--sem->count;

should be

if (retval == 0) {
--sem->count;
}

Without this, sem->count will underflow on timeout effectively breaking the
semaphore. It appears that the implementation has been wrong since the initial
revision.
icculus@3888
     1
The AmigaOS code has been removed from SDL, since it had been broken for a
icculus@3888
     2
 long time and had a few bits of fairly invasive code #ifdef'd into the
icculus@3888
     3
 SDL core.
slouken@21
     4
icculus@3888
     5
However, there is an OS4 version of SDL here:
icculus@3888
     6
   http://www.rcdrummond.net/amiga/index.html
slouken@21
     7
icculus@3888
     8
And a MorphOS version here:
icculus@3888
     9
   http://www.lehtoranta.net/powersdl/
slouken@21
    10
icculus@3888
    11
--ryan.
slouken@21
    12