Changes between Initial Version and Version 1 of Ticket #230, comment 25


Ignore:
Timestamp:
Nov 18, 2014, 11:40:02 PM (9 years ago)
Author:
dmik
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #230, comment 25

    initial v1  
    664. The consumer thread starts a second worker to process the second request.
    775. The second worker finds out that the instance is not yet created (since the first worker hasn't completed its job yet) and enters this awful while loop.
    8 6. The first worker goes on with instance creation and comes to a point it creates a new thread whose only role is to create an object of the `WEmbeddedWinfow` class and then starts to indefinitely wait on this thread's completion.
     86. The first worker goes on with instance creation and comes to a point it creates a new thread whose only role is to create an object of the `WEmbeddedFrame` class and then starts to indefinitely wait on this thread's completion.
    997. However, because the second worker is spinning like hell in a while loop, the new thread does never get a chance to start its execution.
    10108. As a result, the instance is never created, the state is never changed to what the second worker expects.