The MASM Forum

Microsoft 64 bit MASM => Examples => Topic started by: hutch-- on October 26, 2020, 05:10:45 PM

Title: 2 Thread demo programs.
Post by: hutch-- on October 26, 2020, 05:10:45 PM
There is a massive range of thread based applications using a wide array of different architectures, these two demos are simple and the techniques are extendable depending on what task you want to perform.

The demo "simple" is for simple tasks like loading a file then exiting, something that is useful without locking up the main app.

The demo "reuse" uses a different technique, starting a thread suspended and resuming its execution when it is required to do something.

There are many combinations of thread based techniques and while most personally written software is old style single thread, there is big gains in being able to use the multiple core CPUs that have been available for the last 10 years or so.
Title: Re: 2 Thread demo programs.
Post by: daydreamer on January 25, 2021, 09:09:10 AM
so this resumethread can be done in 32bit too?
seem good way to solve app being active and for different reasons got passive