Co-Design Of Dynamic Real-Time Scheduling And Cooperative Control For Human-Agent Collaboration Systems Based On Mutual Trust