GithubHelp home page GithubHelp logo

mulle-kybernetik-tv / mulleloadtwouniverses Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 60 KB

Experiment with dlopen and MulleObjC

License: BSD 3-Clause "New" or "Revised" License

Shell 61.21% CMake 33.75% C 2.94% Objective-C 1.95% C++ 0.16%

mulleloadtwouniverses's Introduction

MulleLoadTwoUniverses

This is an experiment to see how the global (variable) universe is handled when a shared library is opened with dlopen using various mode flags.

The shellscript run-load-two-universes runs through sixteen tests with different dlopen settings.

The results:

A RTLD_GLOBAL opened MulleObjC shared library will not coexist with another shared library which is opened after it. Unless that shared library is opened with RTLD_DEEPBIND.

Otherwise RTLD_LOCAL opened shared libraries have no problem.

Memo: A RTLD_GLOBAL shared library is identical to a RTLD_LOCAL, if no dlopen calls follow!

Run

This is a mulle-sde project.

It has it's own virtual environment, that will be automatically setup for you once you enter it with:

mulle-sde MulleLoadTwoUniverses

Now you can let mulle-sde fetch the required dependencies and build the project for you:

mulle-sde craft

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.