orthecreedence / ghostie

A platformer/2D game engine in CL
32 stars 6 forks source link

Make `bind` thread-safe #13

Closed orthecreedence closed 10 years ago

orthecreedence commented 11 years ago

bind can be called from any number of threads, and although the thread that runs a binding is very specific (game/render) it may be the case eventually that ghostie uses bind internally and so it makes sense to lock the structure internally so multiple threads can use bind in a thread-safe way.

orthecreedence commented 10 years ago

Closing, now single threaded. Awesome choice.