zmapThreads - thread handling ficntion used for servers

Summary Forthcoming...