Thread 1: data processing line 1-5000
Thread 2: processing line data from 5001-10000
Please advise m, multiple occurrences of multithreading approach is not online, always crash!
CodePudding user response:
Look at this examplehttp://downloads.sybase.com/codexchange/powerbuilder/793/WigglyWorms (PB9). Zip
Or example
http://downloads.sybase.com/codexchange/powerbuilder/793/sharedcount.zip
Or this example
http://downloads.sybase.com/codexchange/powerbuilder/793/threads.zip
Two exe or writing,
CodePudding user response:
upCodePudding user response:
Pb in multithreaded processing principle and the way it is a single fixed, in addition to invoke the 3rd party tools or other distributed processing, basic there is no other way of thinking, so you say the problem could be the specific code...But look from your description on the problem may not be the multithreading, but on the database processing, such as transaction \ lock issue, etc...
CodePudding user response:
Asynchronous to implement multithreading in the POSTCodePudding user response:
Look at this examplehttp://downloads.sybase.com/codexchange/powerbuilder/793/WigglyWorms (PB9). Zip
Or example
http://downloads.sybase.com/codexchange/powerbuilder/793/sharedcount.zip
Or this example
http://downloads.sybase.com/codexchange/powerbuilder/793/threads.zip
Two exe or writing,
CodePudding user response:
Is too difficult,