Comment on Multithreading or Light-weight processes ?Comments−chmike17yThe decision depends on the interactions between them.Threads make intercommunication cheap but at the price of exposing to problems like deadlocks or data access synchronization overhead.My rule of thumb is to use process and move to threads only when there is a significant added value.
Comments
The decision depends on the interactions between them.
Threads make intercommunication cheap but at the price of exposing to problems like deadlocks or data access synchronization overhead.
My rule of thumb is to use process and move to threads only when there is a significant added value.