Commit Details

Anon32

Repository http://svn.akelos.org/trunk /trunk
by bermi on 2009-10-23 19:13 (about 1 month ago)

Adding Akelos version of pcntl_fork for preventing forked processes from killing the database connection.
See http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

This is done by closing the connection before forking and reconnecting on the child & parent process.

Returns the same as pcntl_fork (PID of the children to the parent, 0 to the children process and -1 if fails).

Language Totals

  Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
  PHP 15 5 12 0 1 0
  HTML 0 0 0 0 0 0

Files Changed

[1 total ]
File Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
lib/Ak.php
  PHP 15 5 12 0 1 0
  HTML 0 0 0 0 0 0