Difference between revisions of "Process"

From Chessprogramming wiki
Jump to: navigation, search
(Created page with " '''Home * Programming * Process''' A '''Process''' is an [https://en.wikipedia.org/wiki/Object_%28computer_science%29 instance] of a Program|computer pro...")
 
Line 19: Line 19:
  
 
=Forum Posts=
 
=Forum Posts=
 +
==2000 ,,,==
 
* [https://www.stmintz.com/ccc/index.php?id=367073 Re: Stormx is this a Crafty Clone??] by [[Sean Empey]], [[CCC]], May 25, 2004 » [[Windows]]
 
* [https://www.stmintz.com/ccc/index.php?id=367073 Re: Stormx is this a Crafty Clone??] by [[Sean Empey]], [[CCC]], May 25, 2004 » [[Windows]]
 
* [http://www.talkchess.com/forum/viewtopic.php?t=22398 threads vs processes] by [[Robert Hyatt]], [[CCC]], July 16, 2008
 
* [http://www.talkchess.com/forum/viewtopic.php?t=22398 threads vs processes] by [[Robert Hyatt]], [[CCC]], July 16, 2008
 
* [http://www.talkchess.com/forum/viewtopic.php?t=22799 threads vs processes again] by [[Robert Hyatt]], [[CCC]], August 05, 2008
 
* [http://www.talkchess.com/forum/viewtopic.php?t=22799 threads vs processes again] by [[Robert Hyatt]], [[CCC]], August 05, 2008
 +
==2010 ...==
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=35940 Reading Input From a Child Process] by [[Richard Allbert]], [[CCC]], August 31, 2010
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=37946 Reading Input from another process] by [[Richard Allbert]], [[CCC]], February 05, 2011
 
* [http://www.talkchess.com/forum/viewtopic.php?t=61435 Weird Windows / WinBoard behavior] by [[Harm Geert Muller]], [[CCC]], September 15, 2016 » [[WinBoard]], [[Windows]]
 
* [http://www.talkchess.com/forum/viewtopic.php?t=61435 Weird Windows / WinBoard behavior] by [[Harm Geert Muller]], [[CCC]], September 15, 2016 » [[WinBoard]], [[Windows]]
 
* [http://www.talkchess.com/forum/viewtopic.php?t=61465 Crashing engines (Linux)] by [[Harm Geert Muller]], [[CCC]], September 18, 2016 » [[Linux]], [[XBoard]]
 
* [http://www.talkchess.com/forum/viewtopic.php?t=61465 Crashing engines (Linux)] by [[Harm Geert Muller]], [[CCC]], September 18, 2016 » [[Linux]], [[XBoard]]

Revision as of 20:09, 13 December 2019

Home * Programming * Process

A Process is an instance of a computer program, containing the program code being or about to be executed and its data in memory. A process owns ressources such one or more processors if running, and memory, including descriptors of allocated resources, such as file descriptors or handles for data sources and sinks, usually all provided by the operating system. Multitasking operating systems allow the simultaneous execution of multiple threads within one process, sharing all its common resources. Further, processes may spawn or fork child processes who inherit most of the attributes from its parent, such as open files, but otherwise have their own memory for data, heap and stack.

Process States

Process states.svg

Seven process states in a State diagram [1]

Parallel Search

In Parallel search, multiple threads within one process are more common, because they are easier to debug as well as implement, provided the program does not already have lots of global variables. Processes are favored by some because the need to explicitly share memory makes subtle bugs easier to avoid. Also, in processes, the extra argument to most functions is not needed.

See also

Forum Posts

2000 ,,,

2010 ...

External Links

Posix

Pstree from Wikipedia
kill (command) from Wikipedia

Windows

Creating Processes
Creating a Child Process with Redirected Input and Output

C++

Java

Misc

References

Up one Level