CrazyEngineers
  • Pthreads problem in c

    micheal john

    micheal john

    @micheal-john-l1fIn3
    Updated: Oct 20, 2024
    Views: 1.6K
    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!!!
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Vishal Sharma

    MemberMay 17, 2013

    micheal john
    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!!!
    Do you already have experience in threaded programming in C?
    If not, I'd like you to go through #-Link-Snipped-#

    I hope it helps you solving your problem. Still, if you face any further problems, feel free to post!
    Are you sure? This action cannot be undone.
    Cancel
  • micheal john

    MemberMay 17, 2013

    Thanks bro it really helped me.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register