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

speedtable thread safety #35

Open
apnadkarni opened this issue Nov 3, 2012 · 2 comments
Open

speedtable thread safety #35

apnadkarni opened this issue Nov 3, 2012 · 2 comments

Comments

@apnadkarni
Copy link

Not sure if this is a bug or a known limitation. The generated code is not thread safe. I understand that with Tcl's thread/interp model, a speedtable cannot be accessed from multiple threads. However, because of the use of static caches (e.g. for allocation of rows), it is not safe to even access different speedtables from different threads.

Docs don't talk about this much

/Ashok

@bovine
Copy link
Member

bovine commented Nov 3, 2012

It is a known limitation, but we will accept git pull requests that contribute thread-safety fixes.

@bovine
Copy link
Member

bovine commented Nov 3, 2012

It probably makes sense to do this as one of the goals of the new cpp branch. Some of my work there was to begin looking at how the static global speedtablesAssocData was being used, though I didn't make any major changes to it yet.

@bovine bovine removed this from the cpp milestone Jul 8, 2016
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