Merged revision(s) 30213-30218 from ptlib/branches/v2_12:
Only apply /proc technique for detecting terminated thread to external threads.
Merged revision(s) 30219-30221 from ptlib/branches/v2_12:
Fixed bug #477 "PTLIB crashes on startup when there is a window with long text"
Merged revision(s) 30219-30224 from ptlib/branches/v2_12:
Fixed bug #476 "PTLIB terminates completed threads (svn trunk)"
Fixed merge error
Fixed missing unsigned long long test.
Fixed issue with make install/uninstall correctly detecting env var build.
Added ability for WAV file sound channel to handle conversion of mono/stereo.
Merged revision(s) 30225-30238 from ptlib/branches/v2_12:
Work around for bizarre problem with some USB headsets, they lock up in sound driver, causing a cascade of deadlocks. Put a timeout on the "wait for free buffer" as this should never take that long. This will likely not fix the actual problem, but means that it is less catastrophic when it happens.