Improve clarity of SDL2_WaitThread behavior comment

This commit is contained in:
kayomn 2022-10-04 13:54:17 +01:00
parent 38211718e3
commit 28e61f846a
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@ pub const EventLoop = opaque {
{ {
var status = @as(c_int, 0); var status = @as(c_int, 0);
// SDL2 defines waiting on a null thread reference as a no-op. // SDL2 defines waiting on a null thread reference as a no-op. See
// https://wiki.libsdl.org/SDL_WaitThread // https://wiki.libsdl.org/SDL_WaitThread for more information
ext.SDL_WaitThread(implementation.file_system_thread, &status); ext.SDL_WaitThread(implementation.file_system_thread, &status);
if (status != 0) { if (status != 0) {