From Konstantin Belousov <kib@freebsd.org>
Details
- Reviewers
ldionne philnik - Group Reviewers
Restricted Project - Commits
- rG83387dbc18e7: [libc++] add FreeBSD atomic wait support
Diff Detail
Event Timeline
libcxx/src/atomic.cpp | ||
---|---|---|
29–33 | The CI format job complained about the indentation on the changes in this file, but they are consistent with what is in the file now. Should we run clang-format on it first, and then update this to match? |
In fact Kostik found this independent of my work on bringing up CI. It's fortuitous timing.
Does this fix existing tests?
There were a number of atomic tests that timed out on occasion or were inconsistent before (and I temporarily removed them in my work to get the CI going).
I applied this change and restored those tests and (in the one run so far) they passed.
I applied this change and restored those tests and (in the one run so far) they passed.
After a couple more runs it looks like the tests now pass consistently.
libcxx/src/atomic.cpp | ||
---|---|---|
82 | It is just consistent with the rest of the file (in other words, functions were copy/pasted from the Linux block and edited for FreeBSD). |
libcxx/src/atomic.cpp | ||
---|---|---|
82 | OK, I would rather keep this consistent with the other implementations, similar to the clang-format discussion above. |
The CI format job complained about the indentation on the changes in this file, but they are consistent with what is in the file now. Should we run clang-format on it first, and then update this to match?