为什么以下代码总是返回False. obj我已确保SomeBoolReturningFunc正在返回True。
Dim obj As Object = False
ThreadPool.QueueUserWorkItem(Sub(state)
state = SomeBoolReturningFunc()
End Sub,
obj)
'Keep waiting till queued thread completes
Return obj