Solution 1:

It's not thread safe. Simply create a new instance of DbContext in you thread.

Solution 2:

No it is not thread safe - whole EF is not thread safe because EF context should never be shared.