You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This warning is incorrect: errno is thread-local and so there is no concurrency failure here. Note that because it's thread-local it's not always safe to use errno in an actor context, but this warning is emitted even in non-actor contexts.
The text was updated successfully, but these errors were encountered:
Environment
Swift 5.5 nightly from the 30th of July.
Additional Detail from JIRA
md5: 57f4b34d377a090d52bc3e630f42d0dd
Issue Description:
Writing code that reads
Glibc.errno
orDarwin.errno
generates concurrency warnings when compiled in-warn-concurrency
mode:This warning is incorrect:
errno
is thread-local and so there is no concurrency failure here. Note that because it's thread-local it's not always safe to useerrno
in an actor context, but this warning is emitted even in non-actor contexts.The text was updated successfully, but these errors were encountered: