coreRuntime/src/sc/sync/SyncManager.java
public static boolean flushSyncQueue() {
      LinkedHashSet<AddSyncInfo> queue = (LinkedHashSet<AddSyncInfo>) PTypeUtil.getThreadLocal("syncAddQueue");
      if (queue == null)
         return false;
      // First disable queueing
      PTypeUtil.setThreadLocal("syncAddQueue", null);

      // Process the original addSyncInst calls now in order
      for (AddSyncInfo asi:queue) {
         addSyncInst(asi.inst, asi.onDemand, asi.initDefault, asi.resetState, asi.scopeName, asi.props, asi.args);
      }
      return true;
   }
/** Flushes sync events queued from beginSyncQueue */
Flushes sync events queued from beginSyncQueue
Flushes sync events queued from beginSyncQueue
public static boolean flushSyncQueue() {
      LinkedHashSet<AddSyncInfo> queue = (LinkedHashSet<AddSyncInfo>) PTypeUtil.getThreadLocal("syncAddQueue");
      if (queue == null)
         return false;
      PTypeUtil.setThreadLocal("syncAddQueue", null);
      for (AddSyncInfo asi:queue) {
         addSyncInst(asi.inst, asi.onDemand, asi.initDefault, asi.resetState, asi.scopeName, asi.props, asi.args);
      }
      return true;
   }
public static boolean flushSyncQueue ( ) { LinkedHashSet < AddSyncInfo > queue = ( LinkedHashSet < AddSyncInfo > ) PTypeUtil . getThreadLocal ( "syncAddQueue" ) ; if ( queue == null ) return false ; PTypeUtil . setThreadLocal ( "syncAddQueue" , null ) ; for ( AddSyncInfo asi : queue ) { addSyncInst ( asi . inst , asi . onDemand , asi . initDefault , asi . resetState , asi . scopeName , asi . props , asi . args ) ; } return true ; }
Flushes sync events queued from beginSyncQueue
Flushes sync events queued from beginSyncQueue
// First disable queueing // Process the original addSyncInst calls now in order