4. The method of claim 3 , wherein determining the dependency of the statements comprises: determining data and control dependency of the statements, wherein statements in the producer group do not depend on statements in any consumer group, and statements in one determined consumer group do not have data or control dependences with respect to other consumer groups.
4. The method of claim 3 , wherein determining the dependency of the statements comprises: determining data and control dependency of the statements, wherein statements in the producer group do not depend on statements in any consumer group, and statements in one determined consumer group do not have data or control dependences with respect to other consumer groups. 6. The method of claim 4 , wherein the resulting threaded code is in a static single assignment form.