Basic multithreading support
authorclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 08:09:34 +0000 (08:09 +0000)
committerclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 08:09:34 +0000 (08:09 +0000)
commiteb42e7278a8db3d34f4dd792cd3a95a82a72d684
tree318807c2ca30aefac0b33f7e319d8eaca00bb00c
parent94a034218b31a931763efc2b1fca6699af471653
Basic multithreading support

* BotMutex class provides a mutex that turns into a noop when
  threading is disabled
* BotLock provides an automatic lock/unlock pairing within a block
* Once everything has been made threadsafe using multiple Guile
  threads that access the bot will not corrupt any internal data
  structures
source/BotThreading.C [new file with mode: 0644]
source/BotThreading.H [new file with mode: 0644]
source/Makefile.am