Changeset 38f3de6 in rtems-libbsd

Timestamp:
10/07/21 20:38:51 (3 years ago)
Author:
Kinsey Moore <kinsey.moore@…>
Branches:
388d46bb1b3080402c68ae11d14b2b36c3138952
Children:
f94a67a
Parents:
0baf1a8
git-author:
Kinsey Moore <kinsey.moore@…> (10/07/21 20:38:51)
git-committer:
Joel Sherrill <joel@…> (10/08/21 14:05:05)
Message:

rtemsbsd/atomic: Return a value for CMPSET

When the cmpset and fcmpset functions were refactored, the return value
of the operation was discarded instead of being returned for SMP builds
outside of gcc 4.x. This had the effect of turning these functions into
a long busywait loop that eventually failed due to integer overflow.

This patch restores the use of the return value of the atomic
operations.

(No files)

Note: See TracChangeset for help on using the changeset viewer.