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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.