Depends. You can use a thread pool and queue requests which are then
picked up by the threads. You can then dynamically create/join groups
of threads as per demand (up to a limit), returning them to the pool
when they have finished.
-tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/