Commit a94f114
committed
ThreadService: track parent threads globally
At a given time, each Thread can only have one parent Thread, even
if there are multiple application Contexts in play each with its
own ThreadService.
Without this change, the new getThreadContext method will sometimes fail
to return ThreadContext.OTHER as expected, because thread parents were
only tracked by the spawning ThreadService, and hence unavailable to the
other ThreadService doing the interrogation.1 parent 0da9121 commit a94f114
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | | - | |
70 | | - | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments