Update and rename mythread.h to producer.h