myGrid

notifyThread.interrupt() considered harmful

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.5
  • Component/s: Taverna Enactor
  • Labels:
    None

Description

org.embl.ebi.escience.scufl.enactor.implementation.WorkflowEventDispatcher.addEventToQueue(WorkflowInstanceEvent) calls notificationThread.interupt() which causes Jena in provenance plugin to fail unexpectedly, because the thread is interrupted even if it is not in the expected sleep mode.
The solution is to replace the interrupt with a synchronised notify and use wait instead of sleep.
This could also apply to ScuflModel.notifyThread().

Issue Links

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    2006-09-12 15:16
    Updated:
    2006-09-12 15:24
    Resolved:
    2006-09-12 15:24