Hi, I was wondering if there are any Ruby experts out there who can help me. I am currently writing a program and I wish to use multithreading. How do I go about doing this? I have 2 seperate threads (which do different things) created but how do I run them together? Any help would be grateful. Cheers.
jlimty
0
Newbie Poster
Recommended Answers
Jump to PostBy "run them together" do you mean end one of the threads? Or do you mean simply to have them run concurrently? I am guessing you already found both of these resources, but here they are anyway:
http://www.rubycentral.com/book/tut_threads.html
http://www.rubycentral.com/ref/ref_c_thread.htmlWhat code do you …
Jump to PostSo could you show what you have tried?
All 6 Replies
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
jlimty
0
Newbie Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
jlimty
0
Newbie Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
jlimty
0
Newbie 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.