The synchronization uses three semaphores: mutex (binary, initialized to 1 for mutual exclusion), empty (counting, initialized to N representing buffer size), and full (counting, initialized to 0). Producer waits on empty and mutex, deposits item, signals mutex and full. Consumer waits on full and mutex, retrieves item, signals mutex and empty.