Python os.RTLD_GLOBAL() Examples

The following are code examples for showing how to use os.RTLD_GLOBAL(). They are from open source Python projects. You can vote up the examples you like or vote down the ones you don't like.

Example 1
Project: baloo   Author: radujica   File:    BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def load_cudf(path_to_so):
    """Dynamically load a C UDF.

    path_to_so : str
        Absolute path to so.


    CDLL(path_to_so, mode=RTLD_GLOBAL)