mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 01:47:00 +02:00
pthread implementations generally return errors as a positive non-zero value. Our kernel generally returns errors as negative values. If we receive a negative value from a system call, turn it into a positive return value to relay the error appropriately. Also, fix the tt test utility to not rely on errno, as the pthread library does not use errno.