Home > Software engineering >  Multiple processes? Multithreading? (accumulation and computing)
Multiple processes? Multithreading? (accumulation and computing)

Time:10-07

Large-scale computing takes longer, is it possible to realize such functions:

Such as the need to compute and 1-1000000000, it is divided into 10 synchronous calculation (similar to distributed computing)
Picturebox add 10 progress bar, including the first n progress bar reflect 10 ^ (n - 1) * 8 + 1 to the progress of a n * 10 ^ 8,
N part of the end of the operation, to hide the progress bar
All operation over, will be 10 operation results displayed together together?

CodePudding user response:

VB does not support multithreading,
If is the language of support multithreading, and processor is sensitive to program, and on a computer with multiple processors (core), so really useful,

CodePudding user response:

Cao moderators have any Suggestions for my question?

CodePudding user response:

Look at your personal preferences and the program to run the environment, if preferences, BASIC grammar and use multithreading, can use freebasic or vb.net, if want to use vb6, then use the Activex exe unit threads, just deploy up a little trouble,

CodePudding user response:

refer to the second floor allowing response:
cao moderators have any Suggestions for my question?

And low efficiency of VB, you tried to know, the same program, VB.NET can fast 3 ~ 4 times, this means that even if you use the multithreading, on VB6 program also run but don't use multithreading HTTP://VB.NET,

CodePudding user response:

Can, multi-process possible.at, multithreading is too easy to collapse

CodePudding user response:

CUDA suggested the building research

CodePudding user response:

reference 5 floor PctGL reply:
, multi-process possible.at, multithreading is too easy to collapse


Consult multi-process how make? How to run 10 in an application to another program? You can also interact?

CodePudding user response:

And how to realize the request of the top floor in VB.NET?

CodePudding user response:

If we can achieve their definition 5-30 operations progress bar at the same time is better, check a lot of information, I don't know how to start

CodePudding user response:


What is the original poster with the CPU? If is a single core, is divided into ', isn't it a dry? Time-sharing switch can only consume resources in vain?

CodePudding user response:

If it is network distributed computing, then make into a client/server mode, the server can distribute tasks, according to schedule and collect the results, each client slavery, and report the progress at any time,

CodePudding user response:

The
references to the tenth floor of123 response:
what the original poster with CPU? If is a single core, is divided into ', isn't it a dry? Time-sharing switch can only consume resources in vain?


Operations consume CPU is small, the function of I need similar thunderbolt multi-threaded download
  • Related