Work stealing task queues
I'm trying to speed up traversals of directory hierarchies, while maintining a cap on the number of open DIR descriptors (basically UNIX `find'.) This leads to a formulation where a task unit involves processing a particular node, and new tasks are generated for child-nodes: I can push these tasks to multiple task-queues. Prime facie this seems to be a reasonable way to parallelize this, but for the locks that need to be grabbed in every task. The contention issues appear similar to what "work stealing" reportedly solves. I'm wondering if there is an implementation of task queues that someone could share (I believe some of you have worked on it) that I could try out, or point out the required reading to understand the situation better. Appreciate any leads ---Madhu _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html