3 ms·
Well the idea is that thread creation itself is not really cheap. For most software I would say it is not really a problem, but if the "work" to be done is shor
by gray_-_wolf 6y ago
Well the idea is that thread creation itself is not really cheap. For most
software I would say it is not really a problem, but if the "work" to be done
is short enough, that creation of thread becomes the most costly factor. True,
that can be solved by thread pool usually.
So I guess as with most things in software engineering, if there is something wrong with threads or not depends on your use case.