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


Ignore:
Timestamp:
Nov 19, 2014, 12:40:02 AM (10 years ago)
Author:
dmik

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.