Hi All,

I just want to know on what criteria does one decide that he / she has to
use multithreading ?
I have read that "if its a computation intensive task" then move it into a
seperate thread.

But if this is the criteria then why does 'producer-consumer' example is
always qouted as an example for multi threading.
In which case the consumer thread 'waits' for the 'producer' to make the
data awailable.

If the consumer is 'waiting' then it could be well written as a single-main
threaded application .......


Whirlpool of thoughts ! Aah !

Cordially,
Knowledge Seeker


[Non-text portions of this message have been removed]

Reply via email to