Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Is it feasible to run on a single thread? #260

Open
JCash opened this issue Apr 19, 2024 · 2 comments
Open

Q: Is it feasible to run on a single thread? #260

JCash opened this issue Apr 19, 2024 · 2 comments

Comments

@JCash
Copy link
Contributor

JCash commented Apr 19, 2024

If possible, I'd like to use Remotery on builds with a single thread (e.g. html5), question is, how hard is it to modify to set this up?
And in broad strokes, what would need to be done for it to happen?
Perhaps it's already possible, and I overlooked something?

I hope to get to this in the near future, so I thought I'd start the discussion now...

@Celtoys
Copy link
Owner

Celtoys commented Apr 19, 2024

I can't imagine it'd be too difficult. Instead of launching the remotery threads (there are 3?) you'd just poll it every frame.

@Celtoys
Copy link
Owner

Celtoys commented Apr 19, 2024

Oh of course, I don't think the thread-sampler would work as it can't suspend itself.

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

No branches or pull requests

2 participants