Re: What happens if....
- From: "robertwessel2@xxxxxxxxx" <robertwessel2@xxxxxxxxx>
- Date: 29 May 2007 15:49:40 -0700
On May 29, 6:37 am, HandyMan <luke77...@xxxxxxxxx> wrote:
During code development, I was testing my program for proper
termination.
I had to use Task Manager to close the multiple openings of it until I
got it figured
out.
What happens if too many of the same apps keeps opening up?
Does XP have some default strategy for that case?
I guess I should include code to make sure only one instance of my
program is open
at a time.(unless it's say an editor)
In general, there are no system limits other than general resources
(like memory) which limit the number of copies of a particular program
running. Obviously any particular program may implement some sort of
limit internally, or may depend on some sort of non-sharable resource
to run (for example, a program might require access to a serial port).
If you run too many programs (all the same, or all different), you'll
eventually run out of resources, and you'll get various warnings and
then errors from the OS, and often the application(s) will start
getting errors back as well (for example, memory allocations might
start failing). But there's nothing really special about that as
regards multiple copies of a single program.
.
- References:
- What happens if....
- From: HandyMan
- What happens if....
- Prev by Date: Re: If it works, this might be interesting
- Next by Date: Re: What happens if....
- Previous by thread: What happens if....
- Next by thread: Re: What happens if....
- Index(es):