int mysql_kill(MYSQL *mysql, unsigned long pid)
mysql_kill is in work by code-reference.com if you are faster… don't hasitate and add it
no example at the moment