Chromium Code Reviews| Index: base/threading/thread_local_posix.cc |
| =================================================================== |
| --- base/threading/thread_local_posix.cc (revision 106774) |
| +++ base/threading/thread_local_posix.cc (working copy) |
| @@ -15,7 +15,7 @@ |
| // static |
| void ThreadLocalPlatform::AllocateSlot(SlotType& slot) { |
| int error = pthread_key_create(&slot, NULL); |
| - CHECK_EQ(error, 0); |
| + DCHECK_EQ(error, 0); |
|
jar (doing other things)
2011/10/23 00:36:28
There is a chance that we'll exhaust TLS slots, an
|
| } |
| // static |
| @@ -32,7 +32,7 @@ |
| // static |
| void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) { |
| int error = pthread_setspecific(slot, value); |
| - CHECK_EQ(error, 0); |
| + DCHECK_EQ(error, 0); |
|
jar (doing other things)
2011/10/23 00:36:28
I'm fine with this, as it should only happen when
|
| } |
| } // namespace internal |