mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 13:01:29 +01:00
b24cc7ca75
pthread_barrier_wait can return errors, which on Haiku are negative and so -1 is an error condition, it should not be reused for a magic constant. This breaks ABI. However, until the recent fixes, barriers were so broken that I doubt any application was using them seriously (Mesa, for instance, has them disabled.) Change-Id: Ica23921de012a33e9e7aded816bb1347bd157b31 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6517 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: X512 <danger_mail@list.ru>