GNUmakefile
author Andrew Osmond <aosmond@mozilla.com>
Tue, 27 Mar 2018 10:57:01 -0400
changeset 410257 1c5d4e9652092cb2cbec3c42656486a09b84ec9f
parent 228809 07479758ab6870988d3165990e8d4b468628aeba
permissions -rw-r--r--
Bug 1444537 - Part 2. Shutting down the decode pool should make animated decoders bail early. r=tnikkel When we shutdown the decode pool threads, it does not do a simple join with the main thread. It will actually process the main thread event loop, which can cause a bad series of events. The refresh tick could still be running and advancing our animated images, causing the animated decoders to continue running, which in turn prevents the decoder threads from finishing shutting down, and the main thread from joining them. Now we check on each frame whether or not the decoder should just stop decoding more frames because the decode pool has started shutdown. If it has, it will stop immediately.

# This Makefile is used as a shim to aid people with muscle memory
# so that they can type "make".
#
# This file and all of its targets should not be used by anything important.

all: build

build:
	./mach build

clean:
	./mach clobber

.PHONY: all build clean