* Constructor that has to be called from a thread-neutral place. */
| 704 | * Constructor that has to be called from a thread-neutral place. |
| 705 | */ |
| 706 | ThreadLocalProxy() : m_key(0) { |
| 707 | ThreadLocalCreateKey(&m_key, nullptr); |
| 708 | } |
| 709 | |
| 710 | T *get() const { |
| 711 | T *obj = (T*)pthread_getspecific(m_key); |
nothing calls this directly
no test coverage detected