A method and system for reforming a single process into a multi-process
The invention provides a method and a system for reforming a single process into a multi-process. The method comprises the following steps of: reforming a calculation entity program; reforming a single-thread calculation entity program in a single process module so that the reformed single-thread ca...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a method and a system for reforming a single process into a multi-process. The method comprises the following steps of: reforming a calculation entity program; reforming a single-thread calculation entity program in a single process module so that the reformed single-thread calculation entity program can accept command line parameters; A batch process generation step, the reformed single-threaded calculation entity program accepts command line parameters with different values, generates a batch processing program and stores the batch processing program in a batch file. Independent process generation step of using batch command to call single thread calculation entity program based on batch program to generate a plurality of independent processes corresponding to command line parameters with different values; The independent process execution a step of submitting a plurality of independent processes to the operating system for execution and automatic scheduling. The invention can fully u |
---|