Almost complete rework of the threading logic.
commit5aad2d9ac94e9cdf6284885af02c67a06ad5c3d8
authornico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sun, 8 Jul 2007 17:26:37 +0000 (8 17:26 +0000)
committernico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sun, 8 Jul 2007 17:26:37 +0000 (8 17:26 +0000)
tree228e968cc62a9eb9e7bb3caae8a1a297a8888ae4
parent6cef6af3f9d2356817f55f3e65ad504b68164a94
Almost complete rework of the threading logic.
The buffering thread is in fact just there to fill the buffer at appropriate times, so there is no need for the messaging code  I added earlier.
The code in both the threads is still basic and untested, so it probably doesn't work, but I think it reflects what the threads should do.

git-svn-id: svn://jdgordon.mine.nu/mob@43 9862a28c-4e93-4879-ac26-10afcf840a8f
testplugin.c