hi,
I need help in my work.
Let me give some idea of what I am trying to do.
I have multithreaded C program, where I am suppose to take inputs from different files (a input file for each thread). Threads will execute based on these inputs.
I am struggling in taking multiple inputs and assigning them to separate threads in program.
Can some help me in this.
Please feel free to ask is my problem statement is not clear.
-
ps
ps243
0
Newbie Poster
Recommended Answers
Jump to PostYou mean you want to pass argv[1] to thread #1, argv[2] to thread #2 etc. ? Seems pretty trivial to me.
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
ps243
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
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.