News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

2 Thread demo programs.

Started by hutch--, October 26, 2020, 05:10:45 PM

Previous topic - Next topic

hutch--

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.

daydreamer

so this resumethread can be done in 32bit too?
seem good way to solve app being active and for different reasons got passive
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding