1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 00:45:28 +02:00
cdt/core
Jonah Graham 60f668f259 Resolve deadlock in Jobmanager related code
Because of
[changes](https://www.eclipse.org/eclipse/news/4.26/platform_isv.php#JobManager_Implementation)
in Eclipse Platform where the jobmanager's behaviour changes (within
the API), the consumers of the jobmanager can deadlock due to incorrect
assumptions.

In particular, where we call job.schedule(), the callback can happen
in different threads to the IJobChangeListener's. As CDT was holding
a lock while calling schedule that is also required in those
listeners, we need to no longer lock when calling schedule.

As the code already dealt with the case of when there was a delay
between the job.schedule() and where & when it was run, we can
move the schedule call out of the synchronized block.

Fixes #81
2022-11-21 18:00:03 -05:00
..
org.eclipse.cdt.core Resolve deadlock in Jobmanager related code 2022-11-21 18:00:03 -05:00
org.eclipse.cdt.core.linux Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.core.linux.aarch64 Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.core.linux.ppc64le Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.core.linux.x86_64 Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.core.macosx Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.core.native Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.core.tests Bug 580015: add support for multiple bin parsers #75 2022-11-18 10:55:40 -05:00
org.eclipse.cdt.core.win32 Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.core.win32.x86_64 Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.ui Bug 571722: Add ALL_FLAGS for scanner discovery 2022-11-21 10:46:49 -05:00
org.eclipse.cdt.ui.tests Update to latest Orbit which means new mockito version 2022-11-14 16:04:19 -05:00
pom.xml [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00