Mercurial > love-experiments
diff src/modules/thread/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/ThreadModule.h Sun Jan 27 20:04:16 2013 +0100 +++ b/src/modules/thread/ThreadModule.h Wed Jan 30 17:15:12 2013 +0100 @@ -36,16 +36,16 @@ { 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
