diff src/modules/thread/wrap_ThreadModule.h @ 1304:ee1448bb9680 minor

Fix race conditions and deadlocks in Channels (hopefully) (issue #554) Also, this is a giant commit because of the official Code Style (tm) was applied.
author Bart van Strien <bart.bes+projects@gmail.com>
date Wed, 30 Jan 2013 17:15:12 +0100
parents a74672ba1320
children
line wrap: on
line diff
--- a/src/modules/thread/wrap_ThreadModule.h	Sun Jan 27 20:04:16 2013 +0100
+++ b/src/modules/thread/wrap_ThreadModule.h	Wed Jan 30 17:15:12 2013 +0100
@@ -28,11 +28,11 @@
 {
 namespace thread
 {
-	int w_newThread(lua_State *L);
-	int w_newChannel(lua_State *L);
-	int w_getChannel(lua_State *L);
+int w_newThread(lua_State *L);
+int w_newChannel(lua_State *L);
+int w_getChannel(lua_State *L);
 
-	extern "C" LOVE_EXPORT int luaopen_love_thread(lua_State * L);
+extern "C" LOVE_EXPORT int luaopen_love_thread(lua_State * L);
 
 } // thread
 } // love