The synchronization method is not supported by the TwclThread class.
WCL_E_THREAD_INVALID_SYNCHRONIZATION = WCL_E_THREAD_BASE + $0004;