Mariadb Dthread Support

Add dthread-based APIs