qthread.c and h added