It works. Even including all unit tests.

But: there are still a few places where I am sure that there are race conditions & memory leaks & I do not really like the current interface & I have to add a few more messages between the front and backend.

But - it works :)
This commit is contained in:
Bernhard Amann 2012-02-13 22:29:55 -08:00
parent 4e868d282d
commit 88233efb2c
16 changed files with 127 additions and 49 deletions

View file

@ -50,15 +50,15 @@ protected:
// A thread-safe version of fmt(). (stolen from logwriter)
const char* Fmt(const char* format, ...);
void SendEvent(const string& name, const int num_vals, const threading::Value* const *vals);
void SendEvent(const string& name, const int num_vals, threading::Value* *vals);
// Content-sendinf-functions (simple mode). Including table-specific stuff that simply is not used if we have no table
void Put(int id, const threading::Value* const *val);
void Delete(int id, const threading::Value* const *val);
void Put(int id, threading::Value* *val);
void Delete(int id, threading::Value* *val);
void Clear(int id);
// Table-functions (tracking mode): Only changed lines are propagated.
void SendEntry(int id, const threading::Value* const *vals);
void SendEntry(int id, threading::Value* *vals);
void EndCurrentSend(int id);