--
You received this message because you are subscribed to the Google Groups "platform-architecture-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-architect...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAHgVhZXrY4H9ENXpYXVX22FXE2FhtEc%2BVbsw62Rrsza6jM8FwQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CABg10jx%2BjHYJSaxWLkUmOpg_jJm9%3Dr--WQpLoWjnDtOGZMzhgw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAPuLczveKcFd0Ej1wxJ9iOAdbxDYne1FLf6R1VvbpvfmE3bAmg%40mail.gmail.com.
When I worked in graphics I avoided branches that sometimes posted tasks and sometimes ran code immediately. Such branches degraded my confidence in understanding what would happen at runtime and the ordering of events, and made it much harder to write unit tests.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CAHtyhaTW5QrqfnUEeDuaBgN0LF0O_AEzN3iJb_RrS3p_pF33fg%40mail.gmail.com.
On Tue, Sep 13, 2022 at 6:29 AM <dan...@chromium.org> wrote:When I worked in graphics I avoided branches that sometimes posted tasks and sometimes ran code immediately. Such branches degraded my confidence in understanding what would happen at runtime and the ordering of events, and made it much harder to write unit tests.I would be interested to know how cc::SingleThreadProxy came to be. It is entirely based on violating this principle at every opportunity :)