Threads should be compared by reference; fix C# not compiling LinkedList
native Java mutex since Std one throws owner exception