Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Add pause/resume to the Thread class #8194

Merged
merged 4 commits into from
Feb 25, 2017
Merged

Commits on Feb 24, 2017

  1. [core] Add pause/resume to the Thread class

    Make a thread completely halt and not process any message on
    the message queue until resume() is called.
    
    Sending a sync message to a halted thread will result on
    a deadlock, thus the assertion.
    
    Deleting a paused thread will trigger a resume.
    tmpsantos committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    9c9d6fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7d3fab View commit details
    Browse the repository at this point in the history
  3. [core] Add a pause/resume API to the DefaultFileSource

    It will halt the networking thread completely. Expired and error'ed
    tiles won't get re-requested until resume() is called again.
    tmpsantos committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    8865d26 View commit details
    Browse the repository at this point in the history
  4. [glfw] Make P pause/resume the network thread

    Simple test of the DefaultFileSource pause/resume API.
    tmpsantos committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    fc09a60 View commit details
    Browse the repository at this point in the history