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 22:07 ID:4NoCXfyk

>>8
I'm aware it compiles and runs just fine... but it doesn't execute
parallel to the main thread (and, rather, blocks until thread execution finishes), which is necessary for the application I'm going to need threading for.

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