Skip to content

Test with Shenango threads - #3

Open
saubhik wants to merge 4 commits into
feature/add-shenango-depfrom
feature/use-shenango-threads
Open

Test with Shenango threads#3
saubhik wants to merge 4 commits into
feature/add-shenango-depfrom
feature/use-shenango-threads

Conversation

@saubhik

@saubhik saubhik commented Oct 9, 2021

Copy link
Copy Markdown
Owner

This PR works with saubhik/caladan#8.

image

@saubhik

saubhik commented Oct 14, 2021

Copy link
Copy Markdown
Owner Author

Passes RunInThread test but with 2 threads and 3 ops per thread and removing the timeout assertion. TerminateLoopSoon is registered with EventBase but doesn't terminate the loop and instead wait for the timeout event.

Similar thing happens for the case with std::threads.

image

@saubhik

saubhik commented Oct 14, 2021

Copy link
Copy Markdown
Owner Author

Passes RunInEventBaseThreadAndWait test with 4 event bases, otherwise hangs. Maybe because I am testing with 4 kthreads?

With std::threads, I had to reduce 256 event bases to 64 due to user limits on file descriptors in linux.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant