Make Scheme hooks and timers threadsafe
authorclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 22:20:11 +0000 (22:20 +0000)
committerclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 22:20:11 +0000 (22:20 +0000)
commit3c37f9a85bbaa0cd71b0345042bd4ab32c1e255f
treecbfad96a89e2e7c1ee4f8a1719bffb4f92d5e3a4
parent0c98ce0cb879dd4ecd7fe01952ef479275771c67
Make Scheme hooks and timers threadsafe

* Timers are now maintained as a sorted list
* Timer callbacks and other threads can call bot:[add|del]timer
* Running hooks presently *cannot* call bot:addhook.
source/BotInterp.C
source/BotInterp.H