Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-207

Race condition in forceMkdir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 2.0
    • Utilities
    • None
    • Windows

    Description

      If two processes or threads call forceMkdir() with the same directory there is a chance that one will throw an IOException even though a directory was correctly created (by the other process or thread).

      Attachments

        1. forceMkdir.patch
          0.9 kB
          Luke Quinane

        Activity

          People

            Unassigned Unassigned
            luke-nuix Luke Quinane
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified