Add note about handling of thread contexts
This commit is contained in:
parent
1ea608babe
commit
563999f3b8
@ -155,6 +155,7 @@ namespace chaiscript
|
|||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/// \todo this leaks thread instances. It needs to be culled from time to time
|
||||||
std::shared_ptr<T> get_tls() const
|
std::shared_ptr<T> get_tls() const
|
||||||
{
|
{
|
||||||
unique_lock<mutex> lock(m_mutex);
|
unique_lock<mutex> lock(m_mutex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user