threads -> multiple?

L

Luke

I need to start a bunch of threads in the simplest way possible.

However, I don't know how many I will need to start.

Is it valid to call pthread_create with the same tid ,attr, and handler
function variables? I don't need any info from the threads (they know
what to do).
 
C

Christopher Benson-Manica

Luke said:
I need to start a bunch of threads in the simplest way possible.

Then you probably want to hang out on comp.programming.threads, or
perhaps comp.unix.programmer. This newsgroup discusses ANSI C only,
which does not cover threads at all.
 
K

Kelsey Bjarnason

I need to start a bunch of threads in the simplest way possible.

However, I don't know how many I will need to start.

Is it valid to call pthread_create with the same tid ,attr, and handler
function variables? I don't need any info from the threads (they know
what to do).

Which is more than we can say, since C doesn't have thread support. Try a
newsgroup specific to your implementation, OS, thread library or whatever.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top