ThreadTerminationUPP NewThreadTerminationProc ( ThreadTerminationProcPtr userRoutine );
Supported in Carbon.