Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Critique my simple thread pool

Name: Anonymous 2011-10-14 7:20

Learning parallel programing and pthreads so I tried my hand at writing a thread pool.

http://pastebin.com/ebrVWFa8

Name: Anonymous 2011-10-14 12:30

One argument is not enough; you should create a mechanism that will allow the user to supply multiple arguments, which will in turn be converted into a struct, which will be stored as void *arg in task.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List