Package sync extends the standard sync package with debugging features for synchronization primitives.