mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
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:
@@ -36,16 +36,16 @@ namespace love
|
||||
{
|
||||
namespace thread
|
||||
{
|
||||
class ThreadModule : public love::Module
|
||||
{
|
||||
public:
|
||||
virtual ~ThreadModule() {}
|
||||
LuaThread *newThread(const std::string &name, love::Data *data);
|
||||
Channel *newChannel();
|
||||
Channel *getChannel(const std::string &name);
|
||||
class ThreadModule : public love::Module
|
||||
{
|
||||
public:
|
||||
virtual ~ThreadModule() {}
|
||||
LuaThread *newThread(const std::string &name, love::Data *data);
|
||||
Channel *newChannel();
|
||||
Channel *getChannel(const std::string &name);
|
||||
|
||||
const char *getName() const;
|
||||
}; // ThreadModule
|
||||
const char *getName() const;
|
||||
}; // ThreadModule
|
||||
} // thread
|
||||
} // love
|
||||
|
||||
|
||||
Reference in New Issue
Block a user