79408709

Date: 2025-02-03 11:55:33
Score: 1
Natty:
Report link

if i have a file descriptor duplicated (both point to the same resource), is that thread safe to perform close of each respective fd in different threads?

yes

There is a refcount used to release a resource at the last close, but is that access thread safe?

yes

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: KamilCuk