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

Support for Web Workers #70

Open
mateon1 opened this issue Nov 6, 2014 · 1 comment
Open

Support for Web Workers #70

mateon1 opened this issue Nov 6, 2014 · 1 comment

Comments

@mateon1
Copy link

mateon1 commented Nov 6, 2014

I'm requesting a support for Javascript Workers as they aren't supported yet and I haven't found any issue about this earlier.

Right now when you interact with a worker, the onmessage/onerror callbacks in the code creating the worker are logged, but nothing inside the worker itself is logged.

@alltom
Copy link
Member

alltom commented Nov 9, 2014

It's probably that fondue functions like traceFunCall assume that they have direct access to the trace data structure, but they don't in a worker. I'm not sure exactly how that works yet, but my guess is that those functions need to check whether they're in a worker and communicate differently with fondue. There is probably a constellation of problems this raises (ordering, etc). In addition, workers are typically used for CPU-intensive tasks where the overhead of fondue might not be acceptable... I guess we'll see!

I probably won't get to this in the near future, but thanks for opening a ticket so that we can track it! As with any issues, I welcome patches. :)

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