human
Complete this python program:
def get_thread_pool(lock_name, size=1024):
assistant
#Here is the Python code you requested.

    """Initializes eventlet thread pool.
    If thread pool is present in cache, then returns it from cache
    else create new pool, stores it in cache and return newly created
    pool.
    @param lock_name:  Name of the lock.
    @param size: Size of eventlet pool.
    @return: eventlet pool
    """
    @memoize(lock_name)
    def _get_thread_pool():
        return wsgi.get_asynchronous_eventlet_pool(size=size)
    return _get_thread_pool