问题
I have multiple threads that enqueue actions to the same task using ContinueWith()
Is it thread safe? Or should I wrap it with some dedicated lock?
回答1:
It is thread safe. It even works when the task has already completed.
来源:https://stackoverflow.com/questions/31165280/is-task-continuewith-thread-safe