Menu

#5 How many mutexes should there be?

open
nobody
5
2008-03-30
2008-03-30
No

For the stack of classes (Connection,Outlet,BiDirConn), should each one have a mutex for locking the data members at its level?

If so, what does the locking order need to be?

Should they be private, so they aren't locked in subclasses? If so, we'd need lock/unlock functions that the subclasses could use, right?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB