Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-452

While(true); loops cause CPU to spin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.0.0 M7
    • 4.0.0 Alpha
    • None
    • None

    Description

      Please keep in mind not to use mere while true loops in code, which leads to CPU spinning issues.

      If you ever want to write an empty while true loop, please add a Thread.sleep at least.

      Attachments

        Activity

          People

            nirmal Nirmal Fernando
            nirmal Nirmal Fernando
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: