It works, but when lots of tasks come down the line performance suffers. Like, a lot...
libthread threads are bound to their parent proc, probably don't want that. Find a way to have tasks migrate!
Also, making the task queue unbounded (linked list) is probably a good idea for this case.
It _works_, but when lots of tasks come down the line performance suffers. Like, a lot...
libthread threads are bound to their parent proc, probably don't want that. Find a way to have tasks migrate!
Also, making the task queue unbounded (linked list) is probably a good idea for this case.