- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How TLS local copies are re-created after calling clear method? Default constructed or copy constructed from the exemplar?
Also, can TLS hurt scalability? Say, does TLS overhead increases as more threads are used?
Thank you!
Also, can TLS hurt scalability? Say, does TLS overhead increases as more threads are used?
Thank you!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The clear method of the enumerable_thread_specific class destroys objects. After this they are created again the same way as new ones. It's up to you what construction way to use: default or with examplar, just the same as when objects are initially created.
There shouldn't be hurt on scalability. There can be some effect on many threads, but not really significant.
Regards,
Kirill
There shouldn't be hurt on scalability. There can be some effect on many threads, but not really significant.
Regards,
Kirill

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page