toolbox03 -3 Light Poster

Just wondering how do you create a queue system using pthread?

I need to create 2 thread, one for putting in the queue number into an array and the other for removing the queue number from the array.