add a simple POSIX threads producer-consumer example that doesn't use a condition variable