Mark D. Roth
51d18ecc63
Convert mpscq API from C to C++.
5 years ago
weiyongji
bd0d6fc7b6
cancel the modification in mpscq_test.cc
6 years ago
weiyongji
a2f7ce699b
call destroy function in test_serial()
6 years ago
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
Muxi Yan
4b37fb0e4c
Stop including inttypes.h in gRPC core public header in Apple platforms
7 years ago
Vijay Pai
2fe87b0905
Move assignment for Thread, make destructor optional, loop cv waits
7 years ago
Vijay Pai
d71b55db98
Reduce thread count to reduce stack frame size
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
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Vijay Pai
19988c6c7e
clang-format
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
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
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
d47be446d7
Speed up tests
8 years ago
Craig Tiller
57726ca5a9
Revert "Revert "Grand unified closures""
8 years ago
Craig Tiller
537f7c2a13
Revert "Grand unified closures"
8 years ago
Craig Tiller
7ca00497e8
Add a test with multiple threads popping from the mpscq
8 years ago
Craig Tiller
f7cade1b4f
Rename async_execution_lock --> combiner, make it use closures, unroll previous changes for idleness
9 years ago
Craig Tiller
63d11752b7
Update costs
9 years ago
Craig Tiller
18879dcff9
Add cacheline padding, and a test
9 years ago
Craig Tiller
dfbb1c080a
Almost working......
9 years ago
Craig Tiller
2743ba94f9
Almost working...
9 years ago
Craig Tiller
a26637fdca
Add a test and make things compile
9 years ago
Craig Tiller
a353e9d7cd
clang-format
9 years ago
Craig Tiller
b92bb96ccf
Remove errant include
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
69b093b360
Revert "Revert "Add an implementation firewall against pollset_set""
9 years ago
Vijay Pai
e9ef536451
Revert "Add an implementation firewall against pollset_set"
9 years ago
Craig Tiller
85371a2bb0
Change pollset mutex ownership
9 years ago
Craig Tiller
a8be91b315
Provide an interface firewall between pollset and its implementations
...
Starting to allow for >1 implementation of pollset within a binary.
Do so without requiring an extra allocation for completion queues (which
we could not tolerate).
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Craig Tiller
a93a25f7bc
Update copyrights
9 years ago
Craig Tiller
6c39686dfa
Preparatory changes for work shedding
...
- cleanup: change grpc_iomgr_cb_func to take a bool instead of int
success
- cleanup: follow through with iomgr callback scheduling functions
- prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue*
functions
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
e7db29f8c7
Move argument passing to start of list
9 years ago
Craig Tiller
f5768a6765
Rename init
9 years ago
Craig Tiller
098047b53a
Rename run
9 years ago
Craig Tiller
1be70ccdb8
Move arguments to the start of lists
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
d9ccbbf6b9
Rename call_list to closure_list
9 years ago