Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


tech's explination of the following

By akey3701 ·
what are (stacks) + (Buffers)

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by tech_wiz03 In reply to tech's explination of the ...

Stacks are used by the computer operating system to store the progression of program calls and values used for the calls. When a program repeatedly calls the same sequence of instructions , the instructions are usually placed into a sub program to save alot of waisted space and coding. The parent process will make a call to this subprogram and usually send values to this subprogram. All this is placed onto the stack (common area to all processes). Obviously if the stack space and or # of stacks is too few the system won't be able to allocate resources to handle the program(s).

Buffers on the other hand are reserved area's of memory for doing input and output of data to disk and other i/o devices like tape drives. Too few buffers can prevent program opperation due to not having a spare buffer when one is required. Too many buffers can restrict smooth program opperation

hope this helps

Related Discussions

Related Forums