Grouping Threads That Execute Similar Functions
Thread Groups are generally used to group threads that execute similar functions of the application program. For instance, if a server application program were executing request for database access and for computational analysis, the respective threads could be grouped under two different thread groups.
As such, any thread in either group could then assume that working directory, stdin, output screen and other data items were set on the basis of thread group. Thus database threads could read and write from their current working directory and computation threads could read or write from theirs. Each would not need path specifies of the directories they were using. The same would be true for current connection, task and screen.