Fork Handling Stacks

  • Fork Handling Stack hilft bei der Vorbereitung und beim Aufräumen nach einem Fork
  • folgende Fork Handling Stacks existieren
    • prepare Stack - wird vor den Fork ausgeführt
    • parent Stack - wird nach dem Fork im Elternteil ausgeführt
    • child Stack - wird nach dem Fork im Kind ausgeführt
  • die Stacks stellen eine Prozessweite Ressource dar, auf die jeder Thread zugreifen kann
  • Stack wird nicht abgebaut
  • komplex
  • Alternativen
    • prefork - bevor Threads erstellt werden, wird geforkt
    • wenn forkexec ausgeführt wird: Programm in Shared Library umwandeln und so aufrufen
    • Ersatzeltern Model - ein Prozess wird weggeforkt, welcher single-threaded bleibt und nur dazu dient neue Prozesse wegzuforken

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Use <fn>...</fn> to insert automatically numbered footnotes.
  • You can use the <go> tags just like the <a> for nicer urls.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.