1. A method for creating a computer program to be executed by a plurality of threads, the method comprising: receiving input specifying functionality for the computer program, wherein said input specifying the functionality includes input specifying a batch synchronization section that defines execution synchronization behavior for threads associated with a batch object; creating program instructions in response to the input specifying the functionality for the computer program; wherein, when the program instructions are executed by the plurality of threads, the program instructions are operable to: programmatically associate each of the plurality of threads with the batch object; synchronize execution of the batch synchronization section for each thread associated with the batch object, according to the execution synchronization behavior defined by the batch synchronization section.