sentence: monitor ) java ( via the wait and notify methods ) mesa modula-3 python ( via object ) ruby squeak smalltalk turing , turing+ , and object-oriented turing µc++ a number of libraries have been written that allow monitors to be constructed in languages that do not support them natively .