eriq-augustine / clefable

IRC Chatbot
6 stars 0 forks source link

Named Threads #116

Closed eriq-augustine closed 12 years ago

eriq-augustine commented 12 years ago

Give all threads a name, and allow getting a specific named thread.

Just add an init param and propagate to thread wrapper which statically holds all.

eriq-augustine commented 12 years ago

Also, do some magic and make them all singleton by default.

eriq-augustine commented 12 years ago

Since they are all singleon and can be accessed with ThreadClass::instance(), there is no need to give them names.

eriq-augustine commented 12 years ago

Implemented in f8dd528bf1fa47904a6b92a80d66376d03968fb2.