WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Miscellaneous

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Multi-Threaded WinBatch Scripts

 Keywords: mutlithreaded WinBatch thread threaded 

Question:

Is it possible to create a mutlithreaded WinBatch script?

Answer:

The commonly accepted meaning of "multi-threaded" among those who do true multi-threaded programming involves having multiple concurrent threads of execution within the same process. Each thread has its own stack but shares the process virtual memory address space with the other threads in the same process. The threads all run independently of each other and make proper usage of synchronization mechanisms whenever they do access shared data structures that are accessible by any thread in the process.

To date, WIL is not a multi-thread capable language, although the WIL engine itself may actually use multiple threads internally to simultaneously process Windows messages and to perform other background work while a single thread does the main work of executing a single-threaded script.


Article ID:   W17978
Filename:   Multi-Threaded WinBatch Scripts.txt
File Created: 2009:01:30:08:21:44
Last Updated: 2009:01:30:08:21:44