objective c - iOS, Low priority thread before a view controller segue -
i have 2 view controllers: viewcontrollera & viewcontrollerb
if create low priority thread on viewcontrollera afterwards trigger segue viewcontrollerb thread have finish before segue start?
this type of behavior seeing in app, wondering if cause.
the low-priority thread doesn't have to finish before segue, starts work right away. if segue after set thread, there lots of time in between computer start working on thread before segue happens.
once thread starts work - if it's low priority - going finish it. not pause in middle of task, higher priority work. priority system governs task picked next - not switch between half-finished tasks based on priority.
and besides that, ios devices have @ least 2 cores. if segue starts before low-priority work does, it's low priority work start on core @ same time.
Comments
Post a Comment