Delete #thread.c#