1
0
Fork
You've already forked libtask
0

Make it good (use proper work stealing) #1

Open
opened 2026年06月06日 03:53:20 +02:00 by pieguy · 0 comments

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.
Sign in to join this conversation.
No Branch/Tag specified
front
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pieguy/libtask#1
Reference in a new issue
pieguy/libtask
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?