Exemplo n.º 1
0
 /**
  * 过去当前进程的pid
  */
 private static function get_pid()
 {
     if (!function_exists("posix_getpid")) {
         self::exit2p("Please install posix extension.");
     }
     self::$pid = posix_getpid();
 }