commit | cbf3eea58cf24963326a6d88084db0b9342c8ace | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Mon Aug 06 08:11:01 2012 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Mon Aug 06 09:23:02 2012 -0700 |
tree | c1dd8a6eae5209fda0ca3f864c658da21b5c10d9 | |
parent | 513e86debec00d556e360c1296773d5815c20f52 [diff] |
Allow nesting propagated request scopes on same thread ReceiveCommits invokes Runnables on the calling thread whenever there is no background thread pool, or the thread pool is busy and has started to reject new tasks. Permit nesting the context by saving the old one onto the thread stack, and restoring it after the call finishes. Change-Id: I524aa65981417080d6a5d3a2c090e52e2e64351d