I'm trying to get your advice about when to choose a 'threads' approach versus a 'forks' approach for solving a problem.
Being quite a bit disappointed right now after trying for days to overcome a memory-leak problem with an threaded approach to solve a mass-insertion DB app, I'll go now the forking and/or POE path anyway.
But in retrospect, I wonder if there would have been some good advices to consider about what to be aware of; so my question is: what would be the main arguments and reasonings for choosing threads over forks or viceversa before
trying out both and see what's up the hard way ?
Thanks in advance,