If a data structure is associated with a lock, having a public and a private part, there are now useful macros for these data structures.