Fix warning.

GitOrigin-RevId: 8e948bb9cf9c6f9441c3665579334eaa3e963408
This commit is contained in:
levlam 2020-07-23 21:47:34 +03:00
parent c18a2474c6
commit 33ba70b3e4

View File

@ -160,7 +160,9 @@ class MpmcSleepyWaiter {
bool unpark_flag_{false}; // TODO: move out of lock
int yield_cnt{0};
int32 worker_id{0};
char padding[TD_CONCURRENCY_PAD] TD_UNUSED;
public:
char padding[TD_CONCURRENCY_PAD];
};
// There are a lot of workers