• C
    Allow embedders to schedule a callback on all engine managed threads. (#15980) · c5329ef5
    Chinmay Garde 提交于
    `FlutterEnginePostCallbackOnAllNativeThreads` schedule a callback to be run on
    all engine managed threads. The engine will attempt to service this callback the
    next time the message loops for each managed thread is idle. Since the engine
    manages the entire lifecycle of multiple threads, there is no opportunity for
    the embedders to finely tune the priorities of threads directly, or, perform
    other thread specific configuration (for example, setting thread names for
    tracing). This callback gives embedders a chance to affect such tuning.
    
    Fixes flutter/flutter#49551
    Fixes b/143774406
    Fixes b/148278215
    Fixes b/148278931
    c5329ef5
embedder.h 77.5 KB