Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903242

Provide a thread safe implementation of runtime

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P3
    • None
    • None
    • tools
    • None

    Description

      In addition to the existing non-thread safe implementation, provide an alternative which would not lose any coverage.

      CollectTest (attached) demonstrates that the current implementation is not thread safe. This is the output it provides on my laptop:
      FAILED, count = 4998
      FAILED, count = 4998
      FAILED, count = 4999
      FAILED, count = 4999
      passed
      FAILED, count = 4998
      passed
      passed
      passed
      FAILED, count = 4999
      passed
      FAILED, count = 4999
      ...

      Notice that this example only touches hit() method, rest of the functionality should be made thread safe as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shurailine Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: