1 ) A method for customizing task source code, typically hardware drivers and applications, for use with a synthesized operating system, comprising: a) searching said source code for operating system application programming interfaces (APIs); and b) substituting in said source code instructions, including synthesis primitives, for said APIs.