Multi-threading programming and parenting processes