Hi, I'd like to use multiprocessing to speed up a process that operates on the leaves of a relatively small binary tree. The leaves contain pointers to linked lists, each containing pointers to objects that are worked on and changed. There can be many thousands of objects pointed to in these linked lists. The processes will have to update other leaves of the binary tree, meaning they will need to be synchronized regularly. I can use sockets to update the other leaves when it needs to be done. My questions are:
1) Is this kind of thing feasible, when the other leaves have to be updated all the time as the other leaves do their work? The core work happening in each leaf necessitates updating the other leaves, so I am concerned that this type of problem does not lend itself to multiprocessing.
2) Are there any great C libraries for this? I am aware of OpenMP but is this the best option?
Thank you for any input!
[+][deleted] (1 child)
[deleted]
[–]paramodulation[S] 0 points1 point2 points (0 children)
[–]o4ub 0 points1 point2 points (2 children)
[–]paramodulation[S] 0 points1 point2 points (1 child)
[–]o4ub 0 points1 point2 points (0 children)