1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-20 23:45:23 +02:00

Bug 310345 - [concurrent] Asynchronous Cache Programming Model (ACPM)

utilities for DSF (Fixed API tooling errors).
This commit is contained in:
Pawel Piech 2011-12-07 15:10:47 -08:00
parent 965c843140
commit e59cb540db
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.cdt.dsf" version="2">
<resource path="src/org/eclipse/cdt/dsf/concurrent/Transaction.java" type="org.eclipse.cdt.dsf.concurrent.Transaction">
<filter comment="Utility is not in common use. I changed erasure type for argument, but at worse this should only cause a warning." id="420679712">
<message_arguments>
<message_argument value="org.eclipse.cdt.dsf.concurrent.Transaction.validate(ICache&lt;?&gt;[])"/>
<message_argument value="T"/>
</message_arguments>
</filter>
</resource>
</component>

View file

@ -338,6 +338,7 @@ public abstract class AbstractCache<V> implements ICache<V> {
* invalidated * invalidated
* *
* @see #reset(Object, IStatus) * @see #reset(Object, IStatus)
* @since 2.3
*/ */
protected void setAndReset(V data, IStatus status) { protected void setAndReset(V data, IStatus status) {
assert fExecutor.getDsfExecutor().isInExecutorThread(); assert fExecutor.getDsfExecutor().isInExecutorThread();