Changes between Version 2 and Version 3 of Old/OTG/FuncSpec/OtgMainProgram


Ignore:
Timestamp:
Oct 6, 2005, 6:42:08 PM (19 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/OTG/FuncSpec/OtgMainProgram

    v2 v3  
    4949 1. Conduct 2nd-tier parse to get all detail parameters of Port and Generator
    5050 1. Init Port and Generator
    51  1. Create Stream Object to control Port and Generator, as a seperate thread.
    52  1. Let work() actting as the continuing main thread to handle run-time user inputs. this function is designed as an eternal while loop.
     51 1. Create Stream Object to control Port and Generator, as a separate thread.
     52 1. Let work() acting as the continuing main thread to handle run-time user inputs. this function is designed as an eternal while loop.
    5353 
    5454=== Discussion ===
    55 We are going to have multiple streams in one OTG using multiple thread. The main thread is handling command-line inputs. Each stream is a seperate thread, by calling th stream_init functon, the stream is independently sending packets. Now, one stream is enough. Although the current architecture allows more streams in more threads (and we already test this successfully), there seems no need for doing this. If multiple streams are prefered, the user could run multiple OTG programs.
     55We are going to have multiple streams in one OTG using multiple thread. The main thread is handling command-line inputs. Each stream is a separate thread, by calling the stream_init function, the stream is independently sending packets. Now, one stream is enough. Although the current architecture allows more streams in more threads (and we already test this successfully), there seems no need for doing this. If multiple streams are preferred, the user could run multiple OTG programs.
    5656