Hi to all

I am trying to port code from java to python. However, I don't known how to port a synchronized block like:

synchronized (available) {
    available.wait();
}
do anybody in the list known how to do it in python?

Thank you very much in advance

josu