diff options
author | Elliott Hughes <enh@google.com> | 2015-03-31 10:56:58 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-31 10:56:58 -0700 |
commit | 6170693e28dd72a1517c267f3f62b3f37477b8bb (patch) | |
tree | f7cf73e397d83074a6da0b6cce4459b51af334cf /tests | |
parent | 611fd2cc91f79be6759f6e630e1e81998326dfe8 (diff) | |
download | bionic-6170693e28dd72a1517c267f3f62b3f37477b8bb.zip bionic-6170693e28dd72a1517c267f3f62b3f37477b8bb.tar.gz bionic-6170693e28dd72a1517c267f3f62b3f37477b8bb.tar.bz2 |
Make ThreadLocalBuffer a class rather than a macro.
Bug: 19995392
Change-Id: I497c512648fbe66257da3fb3bcd5c9911f983705
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pthread_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pthread_test.cpp b/tests/pthread_test.cpp index 13d743f..16bf9c0 100644 --- a/tests/pthread_test.cpp +++ b/tests/pthread_test.cpp @@ -68,8 +68,7 @@ TEST(pthread, pthread_key_many_distinct) { for (int i = 0; i < nkeys; ++i) { pthread_key_t key; - // If this fails, it's likely that GLOBAL_INIT_THREAD_LOCAL_BUFFER_COUNT is - // wrong. + // If this fails, it's likely that LIBC_PTHREAD_KEY_RESERVED_COUNT is wrong. ASSERT_EQ(0, pthread_key_create(&key, NULL)) << i << " of " << nkeys; keys.push_back(key); ASSERT_EQ(0, pthread_setspecific(key, reinterpret_cast<void*>(i))); |