Menu

#45 locking on start up

on_hold
open
nobody
wheat core (23)
5
2004-06-18
2004-06-18
No

Neither System::System() nor Test::runAll() bother to gain a
NameSpace::Lock. Yet they both modify the object system. While
many tests do use a Thread (and hence get a lock), most of the
lower-level tests do not.

To some degree, this is moot - nothing runs concurrently with
either of these operations (both done at start-up). But, should this
change, then these operations will need to get locks.

Discussion


Log in to post a comment.