﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
114	libc: Unloading a DLL can break wait*() and other libc operations.	bird	bird	"'''_CRT_term()''' and '''_CRT_init()''' don't do any reference counting and will terminate the CRT at the first '''_CRT_term()''' call instead of the last one. Since the CRT termination code involves telling the internal process waiter thread to quit, unloading a dll may cause all the '''wait*()''' functions to misbehave.

Change the CRT init/term code to do usage counting and fix b_processWait.c so that we can be reinitialized."	defect	closed	normal	libc-0.6.2	libc-frontend	0.6	critical	fixed	_CRT_init _CRT_term initterm wait4 waitpid  fork spawn	
