skia2/src
Mike Klein a1991f5e3b experimental support for go/fibers
When run on cooperative threads, we need to notify the threading system
when we're going to block (in any way, sleep or spin) so that it doesn't
wake that thread up expecting it to make forward progress.

This should cover SkOnce, SkSpinlock, SkSemaphore, and by extension
SkMutex.  Not sure if there are others to hit, but really the only way
to find out is by deadlocked stack traces.  This CL (obviously?) does
nothing to mark synchronization primitives used by Skia's dependencies,
and in general I don't think we can do anything about them.

See cr/275261423 for more background and discussion.  It's not clear to
me that marking these symbols as weak is necessary, so I figured I'd
just try not doing that and seeing what breaks.  I can always follow up
with weak symbols if proven necessary.

Bug: skia:9577

Change-Id: I2c03fe92c58ad506dd8a68bdc90a09b28f965149
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/251221
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2019-10-28 16:48:55 +00:00
..
android Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +00:00
atlastext Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
c Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
codec Update Wuffs version to 0.2.0-rc.1 2019-10-10 15:12:21 +00:00
core experimental support for go/fibers 2019-10-28 16:48:55 +00:00
effects More SkISizification in GPU code. 2019-10-22 15:04:07 +00:00
fonts Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
gpu Add helper to determine the index buffer that will be used 2019-10-28 16:36:02 +00:00
image Type usage improvements in GrTextureProducer classes 2019-10-24 16:38:57 +00:00
images insist SkPngEncoder's input is initialized 2019-10-14 18:13:37 +00:00
lazy Remove std::move()s from returns of std::unique_ptrs 2019-08-15 23:48:59 +00:00
opts Slightly faster hsl_to_rgb stage 2019-10-24 16:26:02 +00:00
pathops Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
pdf Reland "hide color filters from blitters" 2019-10-24 16:57:02 +00:00
ports Don't keep "outResultsFile" open in nanobench 2019-10-24 16:09:02 +00:00
sfnt Add Symbol encoding when renaming a font. 2019-08-07 20:35:28 +00:00
shaders Reland "hide color filters from blitters" 2019-10-24 16:57:02 +00:00
sksl Revert "Rename gl_SampleMask to sk_SampleMask" 2019-10-23 12:28:48 +00:00
svg Rename SkDevice::ctm() to localToDevice() 2019-10-18 18:04:31 +00:00
utils Rename SkDevice::ctm() to localToDevice() 2019-10-18 18:04:31 +00:00
xml [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
xps Rename SkDevice::ctm() to localToDevice() 2019-10-18 18:04:31 +00:00