HEX
Server: nginx/1.16.1
System: Linux ecs-04358622 4.19.90-2107.6.0.0100.oe1.bclinux.x86_64 #1 SMP Wed Dec 1 19:59:44 CST 2021 x86_64
User: nginx (994)
PHP: 8.0.0
Disabled: NONE
Upload Files
File: //lib64/python3.7/site-packages/M2Crypto/threading.py
from __future__ import absolute_import

"""
M2Crypto threading support, required for multithreaded applications.

Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved."""

# M2Crypto
from M2Crypto import m2


def init():
    # type: () -> None
    """
    Initialize threading support.
    """
    m2.threading_init()


def cleanup():
    # type: () -> None
    """
    End and cleanup threading support.
    """
    m2.threading_cleanup()