grpc/test/core/gpr
Tamir Duberstein 76e95f6afd
Generalize pthread TLS to any trivial type (#27009)
* Avoid copy constructor

```
src/core/lib/gpr/log_linux.cc:78:33: error: copying variable of type 'grpc_core::PthreadTlsImpl<long>' invokes deleted constructor
  static GPR_THREAD_LOCAL(long) tid = 0;
                                ^     ~
./src/core/lib/gpr/tls.h:64:3: note: 'PthreadTlsImpl' has been explicitly marked deleted here
  PthreadTlsImpl(const PthreadTlsImpl&) = delete;
  ^
1 error generated.
```

* Generalize pthread TLS to any trivial type

Use multiple pthread keys for types larger than a machine word.

Implement generic timer TLS optimization on all platforms.
2021-08-30 11:32:47 -07:00
..
BUILD Generalize pthread TLS to any trivial type (#27009) 2021-08-30 11:32:47 -07:00
alloc_test.cc Deprecate gpr_get/set_allocation_functions 2019-11-04 19:47:33 -08:00
arena_test.cc C++ cast for void* 2020-11-30 17:29:15 -08:00
cpu_test.cc fix more detected mu/cv leaks 2019-02-16 00:00:50 +08:00
env_test.cc Added new configuration system to core/grp. 2019-04-30 15:49:24 -07:00
log_test.cc Added grpc_stacktrace_minloglevel 2020-11-25 17:16:50 -08:00
murmur_hash_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
spinlock_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
string_test.cc Added new configuration system to core/grp. 2019-04-30 15:49:24 -07:00
sync_test.cc C++ cast for void* 2020-11-30 17:29:15 -08:00
time_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
tls_test.cc Generalize pthread TLS to any trivial type (#27009) 2021-08-30 11:32:47 -07:00
useful_test.cc change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00