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

Accessing Thread Local Storage #7

Open
nightlark opened this issue Nov 22, 2016 · 1 comment
Open

Accessing Thread Local Storage #7

nightlark opened this issue Nov 22, 2016 · 1 comment
Labels
Question General questions about the library

Comments

@nightlark
Copy link

I'm looking for a way to access the TLS for a process from node, and didn't see anything in the API about it - maybe I just wasn't looking in the right place or there is some different terminology used, but the ability to access TLS seems like it would fit well with some of the other memory access functions robot-js provides.

The following SO question has a code snippet showing how it works on Windows. Linux and OS X seem to have their own variants.
http://reverseengineering.stackexchange.com/questions/3139/how-can-i-find-the-thread-local-storage-tls-of-a-windows-process-thread

@dkrutsko
Copy link
Member

dkrutsko commented Feb 25, 2017

Yes I know about TLS (at least on Windows) but what sort of functionality were you looking for specifically? It seems that a lot of the functionality offered by TLS is not meant to be accessed directly and is probably outside the scope of robot-js. For these types of complex requirements, you may be better off using C++ directly, or writing a node C++ plugin to handle whatever you're trying to do. May also be worth looking into BlackBone . Either way, let me know.

@dkrutsko dkrutsko added the Question General questions about the library label Feb 25, 2017
@dkrutsko dkrutsko added this to the Robot-js 3.0.0 milestone Aug 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question General questions about the library
Development

No branches or pull requests

2 participants