syncprims.h (SyncGuard<>): Add default ctor and new function SyncGuard<>::attach_and_lock() for atomic attachment and lock.
syncprims.h (SyncGuard<>): Add default ctor and new function
SyncGuard<>::attach_and_lock() for atomic attachment and lock.

ccpaging/log4cplus,ccpaging/log4cplus,hunter-packages/log4cplus,csuideal/log4cplus,ccpaging/log4cplus,hunter-packages/log4cplus,csuideal/log4cplus,csuideal/log4cplus,csuideal/log4cplus,hunter-packages/log4cplus,hunter-packages/log4cplus,ccpaging/log4cplus