xtao
7766912dda
fix more detected mu/cv leaks
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Vijay Pai
2fe87b0905
Move assignment for Thread, make destructor optional, loop cv waits
7 years ago
Vijay Pai
87e2e6a58a
clang-fmt
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
58a62755fc
Remove support for detached threads. All threads must be joined.
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Jan Tattermusch
148700a8ea
windows needs fflush after fprintf
7 years ago
Vijay Pai
19988c6c7e
clang-format
7 years ago
Sree Kuchibhotla
54961bb9e1
Change the code to use MONOTONIC clocks when calling gpr_cv_wait (condition varialbes in linux support MONOTONIC clock type)
7 years ago
Dave MacLachlan
da341bcb89
Fix up review comments
7 years ago
Dave MacLachlan
af5c54de9c
Add thread naming support on platforms that support it.
...
As a client of grpc I want to be aware of which threads are being
created by grpc, and giving them recognizable names makes it significantly
easier to diagnose what is going on in my programs.
This provides thread names for macOS and Linux. Adding support for other
platforms should be easy for platform specialists.
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Vijay Pai
c42e978004
Reduce # of arithmetic ops to reduce time spent in this test.
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Yuchen Zeng
f0d6b88626
Avoid repetitive division calculations
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Craig Tiller
2a1540496f
clang-format
9 years ago
Craig Tiller
e8f9ba6b7f
Fix compilation with clang/gcc
9 years ago
Craig Tiller
d3917ab790
Add an early out to gpr_cpu_test
...
This test consumes a huge amount of CPU. On Windows, it additionally starves other tests from getting scheduled - for long enough that those tests time out and fail.
Historically tests starting shortly after this test are the most likely to fail.
Once we've seen all CPU's, we will no longer do anything useful - so check for that, and finish up early whenever possible.
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Alistair Veitch
f987e3af95
Fix for long-running tsan test
9 years ago
Alistair Veitch
427eb90803
Fix memory leak
9 years ago
Alistair Veitch
72badb4777
more verbose message
9 years ago
Alistair Veitch
c11e8472b5
only print #cores seen
9 years ago
Alistair Veitch
dcfb3fe482
add CPU tests
9 years ago