session mutex and id counter made static, now many instances of a Session object...
authorMarc Cromme <marc@indexdata.dk>
Sun, 9 Oct 2005 19:53:37 +0000 (19:53 +0000)
committerMarc Cromme <marc@indexdata.dk>
Sun, 9 Oct 2005 19:53:37 +0000 (19:53 +0000)
commitf05f2c3cb62b12590abf370d1681ed80fb1626d5
tree55bbdc47fd6e6cb794229468acdcec15d4642e47
parent855346b9d749d6ff937e838e8afb299daa7e4cb2
session mutex and id counter made static, now many instances of a Session object do increment the same global static counter. This has the advantage that a worker just can create it's own static object.
src/session.hpp
src/test_session2.cpp