A method for parallel processing of programs and for performing the method suitable processor
暂无分享,去创建一个
Processor, which is suitable for parallel execution of at least two threads by means of Hyper-Threading on at least two logical processors, wherein - A processor instruction (fork) is provided which is adapted to generate a second thread and / or to start, - A processor instruction (stop) is provided which is adapted to stop the current second thread, - A first set of registers for the period expiring on a first logical processor first thread and a second set of registers is provided for the application running on the second logical processor second thread, and - Is copied before creating or starting the second threads, immediately after changing a register value of the first register set the contents of the modified register in the appropriate register of the second set of registers, so that after the dispensing of the processor instruction (fork) to start the second threads can start immediately with the appropriate register values in the first thread, the second thread.