clang-format

pull/19393/head
Yunjia Wang 6 years ago
parent 02813afa65
commit 17d74286c7
  1. 3
      src/core/lib/gprpp/thd_posix.cc

@ -57,8 +57,9 @@ size_t RoundUpToPageSize(size_t size) {
// Return the minimum valid stack size that can be passed to
// pthread_attr_setstacksize.
size_t MinValidStackSize(size_t request_size) {
if (request_size < _SC_THREAD_STACK_MIN)
if (request_size < _SC_THREAD_STACK_MIN) {
request_size = _SC_THREAD_STACK_MIN;
}
// On some systems, pthread_attr_setstacksize() can fail if stacksize is
// not a multiple of the system page size.

Loading…
Cancel
Save