Ruby Threading Examples?

I have tried every way I know on threading but I’m still not able to
create a simple loading screen on the shell.

Can you point/make some please?
The goal here is to run both of the animation at the same time.

a = Thread.new {
#do animation
}
b = Thread.new {
#do animation
}

a and b should run at the same time without interfering each other.

So far, whenever I run my version of the code. This happens.

example.
100%

example2
5%
31%

I don’t get my questions answered usually so I’ll post my code and
whatever needed if someone replies.

You might have better luck if you post this question to the ruby-talk
mailing list. It’s very easy to get started

https://www.ruby-lang.org/en/community/mailing-lists/

masta Blasta wrote in post #1164001:

Mailing Lists

Hi, where is this supposed to take me? I have been on that site before
but I don’t know where to click next as I only see this website listed,
there are other like ruby-core but I don’t think it’s relevant to my
question. I did subscribe but I don’t know where to post my question.

Is this something about me sending my questions to
[email protected]?

cynic limbu wrote in post #1164111:

masta Blasta wrote in post #1164001:

Mailing Lists

Hi, where is this supposed to take me? I have been on that site before
but I don’t know where to click next as I only see this website listed,
there are other like ruby-core but I don’t think it’s relevant to my
question. I did subscribe but I don’t know where to post my question.

Is this something about me sending my questions to
[email protected]?

Subscribe to the ruby-talk mailing list, then simply send your question
as an email to [email protected]. All subscribed users will get
it. Use the subject “Re: Ruby Threading Examples?” and maybe the system
will connect it with this forum thread.

masta Blasta wrote in post #1164112:

Subscribe to the ruby-talk mailing list, then simply send your question
as an email to [email protected]. All subscribed users will get
it. Use the subject “Re: Ruby Threading Examples?” and maybe the system
will connect it with this forum thread.

I found a solution about this topic on an IRC chat (Didn’t work before
though)

Thanks.