All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.python.core.ThreadContext Maven / Gradle / Ivy

Go to download

Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.

The newest version!
// Used to manage re-entrant context on the stack, as opposed to a thread-specific global state
package org.python.core;

class ThreadContext {

    static ThreadLocal initializingProxy = new ThreadLocal() {
        protected Object[] initialValue() {
            return new Object[1];
        }
    };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy