Menu

#4 Thread's aquire() wastes much CPU time

Improvement
closed
None
9
2004-12-18
2004-12-15
No

Because the aquire() method of thread waits for much CPU time,
the CUP usage is limited to lower level. This leads to the slow
execution speed.

Discussion

  • Koji Kishimoto

    Koji Kishimoto - 2004-12-15
    • milestone: --> Improvement
     
  • Koji Kishimoto

    Koji Kishimoto - 2004-12-15
    • priority: 5 --> 9
     
  • Koji Kishimoto

    Koji Kishimoto - 2004-12-17

    Logged In: YES
    user_id=734761

    This was serious especially in reading XML file.
    The GUI thread offen blocked main thread's acquire() requirement.
    Then I changed the code to use acquire method with block=False
    argument.
    This change will be included into paida-3.2.1_2.6.1.

     
  • Koji Kishimoto

    Koji Kishimoto - 2004-12-18
    • status: open --> closed
     

Log in to post a comment.