Commit 0b98d0cb8a2520e902840fdaad35a5f0041423dc

Philipp Wiesemann 2014-09-06T23:20:14

Fixed example in header file. Did not compile because of typo in function name and missing argument.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/SDL_thread.h b/include/SDL_thread.h
index 4e48cc3..9e53414 100644
--- a/include/SDL_thread.h
+++ b/include/SDL_thread.h
@@ -233,9 +233,9 @@ extern DECLSPEC void SDLCALL SDL_DetachThread(SDL_Thread * thread);
  *          if (!thread_local_storage) {
  *              thread_local_storage = SDL_TLSCreate();
  *          }
- *          SDL_AtomicUnLock(&tls_lock);
+ *          SDL_AtomicUnlock(&tls_lock);
  *      }
- *      SDL_TLSSet(thread_local_storage, value);
+ *      SDL_TLSSet(thread_local_storage, value, 0);
  *  }
  *  
  *  void *GetMyThreadData(void)