New function: pcntl_daemonize & pcntl_setaffinity.

pcntl_daemonize: run as a daemon.
pcntl_setaffinity: set cpu binding.