Changes between Initial Version and Version 2 of Ticket #3595


Ignore:
Timestamp:
04/20/2016 08:43:58 AM (4 years ago)
Author:
sergz
Comment:

What do you think about using of libuv for async IO and timers? It should allow us to get rid of detached threads and avoid having of any internal resources longer than the scope of JsEngine among currently supported platforms.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3595

    • Property Blocking changed from to 3593
  • Ticket #3595 – Description

    initial v2  
    11''adblockplus'' uses timers (`setTimeout`) (with very long firing intervals). Current implementation in ''libadblockplus'' uses  free running timer threads, each thread is represented as an instance of a `TimeoutThread` class which holds `JsValuePtr function;` and `JsValueList functionArguments;` which hold `JsEnginePtr jsEngine;` that holds isolate. 
    22 
    3 It's results in some race conditions in tests as well as in some memory leakages (see #3593). 
     3It results in some race conditions in tests as well as in some memory leakages (see #3593). 
    44 
    55=== What to change ===