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.

--HG--
branch : minor
This commit is contained in:
Bart van Strien
2013-01-30 17:15:12 +01:00
parent be2363fc00
commit c7c5d0ed6b
15 changed files with 414 additions and 367 deletions
+4 -4
View File
@@ -28,11 +28,11 @@ namespace love
{
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