|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
To use multiple processes or threads?What are the advantages/disadvantages of using one process with multiple
threads or doing the same task with multiple processes, each having one thread? I see using multiple threads under one process as being a problem. Potentially, one thread may crash and could bring down the whole process, including all the other threads. Using one process per thread seems more independent. This is similar to what happens when you open multiple Notepads. Thanks, Brett Isnt spawning multiple processes under one appdomain is more costly than
spawning threads under a process ? HTH rawCoder Show quoteHide quote "Brett" <no@spam.com> wrote in message news:OR6brvtNFHA.3928@TK2MSFTNGP09.phx.gbl... > What are the advantages/disadvantages of using one process with multiple > threads or doing the same task with multiple processes, each having one > thread? > > I see using multiple threads under one process as being a problem. > Potentially, one thread may crash and could bring down the whole process, > including all the other threads. > > Using one process per thread seems more independent. This is similar to > what happens when you open multiple Notepads. > > Thanks, > Brett > >
Insert Border around a picture
SQL Error How can I get the following functionatilty in Windows Forms ? Read private variables between forms touch screen monitors Terminating a thread Resize Tab control when windows form resizes COM, LPT and USB to C, C++ Interface. File locking problem Avoiding late binding |
|||||||||||||||||||||||