V
Vellingiri Arul
what is mean by thread scheduler in Ruby?with example?
Please Any one help me?
by
Vellingiri
Please Any one help me?
by
Vellingiri
Vellingiri said:what is mean by thread scheduler in Ruby?with example?
Please Any one help me?
by
Vellingiri
7stud said:Threads don't execute at the same time despite what the literature might
say. If you have two threads, for instance your main program and one
thread, then one thread executes for a short time, and then execution
switches to the other thread for a short time, and then execution
switches back. The switching back and forth happens so fast that it
gives the appearance that the threads are executing at the same time.
The thread scheduler determines which thread gets execution time and how
much.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.