Pthreads problem in c
Hi everyone i'm new to programming and i have a project in which i have to use 4 threads to execute 4 methods using pthreads,
let m1, m2, m3, m4 be the methods and q1, q2, q3 be the queues, i should pass q1 from m1 to m2
and pass q2 from m2 to m3 and q3 from m3 to m4.
how to do these using pthreads, program should execute in m1->m2->m3->m4.
please help me!!!
let m1, m2, m3, m4 be the methods and q1, q2, q3 be the queues, i should pass q1 from m1 to m2
and pass q2 from m2 to m3 and q3 from m3 to m4.
how to do these using pthreads, program should execute in m1->m2->m3->m4.
please help me!!!
0