Hi all,
Theoritically i understood two or 'N' threads are run parrallely. but in embeeded system how it would be. however threads should share the cpu time by means of some algorithms like roundrobin,FIFO,Shortest jobfirst,preemptive.so seems like noparallelism. if one thread finishes the allocated cpu time another thread will execute then where is the concurrent concepts arises.
similarly threads are nothing but a task,if a thread executes it will be in RUN state. another recently arrived thread would be in ready state, if a thread present in RUN state finishes it work,whatever task present in the ready state now pushed in to running state so it will execute. so no threads are run parrally?
Pls clear my doubts.
Regards
Muthazhagan