include/SDL_thread.h
changeset 10901 fd5d8584f5f8
parent 10737 3406a0f8b041
child 11284 3db78361e751
     1.1 --- a/include/SDL_thread.h	Sun Feb 19 21:05:09 2017 +0100
     1.2 +++ b/include/SDL_thread.h	Sun Feb 19 21:05:26 2017 +0100
     1.3 @@ -74,15 +74,15 @@
     1.4   *
     1.5   *  We compile SDL into a DLL. This means, that it's the DLL which
     1.6   *  creates a new thread for the calling process with the SDL_CreateThread()
     1.7 - *  API. There is a problem with this, that only the RTL of the SDL.DLL will
     1.8 + *  API. There is a problem with this, that only the RTL of the SDL2.DLL will
     1.9   *  be initialized for those threads, and not the RTL of the calling
    1.10   *  application!
    1.11   *
    1.12   *  To solve this, we make a little hack here.
    1.13   *
    1.14   *  We'll always use the caller's _beginthread() and _endthread() APIs to
    1.15 - *  start a new thread. This way, if it's the SDL.DLL which uses this API,
    1.16 - *  then the RTL of SDL.DLL will be used to create the new thread, and if it's
    1.17 + *  start a new thread. This way, if it's the SDL2.DLL which uses this API,
    1.18 + *  then the RTL of SDL2.DLL will be used to create the new thread, and if it's
    1.19   *  the application, then the RTL of the application will be used.
    1.20   *
    1.21   *  So, in short: