aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support/env.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-27 07:24:00 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-27 07:24:00 -0800
commitedbf2b9d13445221c9d8858c00cea02435570fe0 (patch)
tree9cb8deb7f5cb9dc4855d4082b6581550fe455529 /src/core/lib/support/env.h
parentca8de5c1c3aa47bff5ab83482ed4b33c8cbc3047 (diff)
Add a spinlock type.
Useful for situations where we need to repeatedly trylock, not useful for cases where we need to lock (due to spinning). Add a variant of sync_test to test it (with the same tests we run for gpr_mu). Add a benchmark to bm_closure to demonstrate single threaded performance.
Diffstat (limited to 'src/core/lib/support/env.h')
0 files changed, 0 insertions, 0 deletions