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

[C/C++] pthread parallel execution

Name: Anonymous 2007-08-17 21:38 ID:4NoCXfyk

Just started learning to use POSIX threads, but I find that every time I create a thread and/or join it, the calling thread halts until the called thread completes its iteration. How do I execute them parallel to one another?

Thanks.

Name: 1 2007-08-17 21:57 ID:4NoCXfyk

>>6
Note that pthread_join is commented out... I had tried it before, but stopped. It's only using pthread_create at the moment... and still blocking.

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