Page MenuHomePhabricator

util: Don't reference errno when pthread fails.
ClosedPublic

Authored by PiRK on May 13 2021, 15:29.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC1fbbcdcdaa6d: util: Don't reference errno when pthread fails.
Summary

Pthread library does not set errno.
Pthread library's errno is returned by return value.

Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>

This is a backport of core#19194

Test Plan

ninja check-functional