Coder Social home page Coder Social logo

jmuehlig / mxtasking Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 4.0 247 KB

Task-based framework for automatic synchronization and memory prefetching.

License: MIT License

CMake 0.74% C++ 98.88% Python 0.37%
synchronization tasks memory-management prefetching btree-indexes

mxtasking's People

Contributors

jmuehlig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mxtasking's Issues

State dependency on Linux explicitly in README file.

MxTasking heavily depends on Linux-specific functions, libraries and behaviour but Linux is not even mentioned in the README.md. This unnecessarily confuses users of other operating systems who want to use MxTasking and instead of being told that they need Linux, are bombarded with compiler errors. The only vague hint to the dependency on Linux is, the stated dependency on libnuma.

Noting that MxTasking is written for Linux would also better indicate, that this library cannot be easily ported to other platforms, not even to those who adhere to the POSIX-standard, such as the *BSDs and macOS.

For example, the per-processor heap implementation assumes behaviour that is specific to libnuma only, and is prohibited by gcc's libc implementation and considered undefined behaviour by the standard. In particular, numa_free() used in the destructor of class ProcessorHeap accepts various pointers, especially those who were not returned by libnuma's alloc functions, which crashes the application when free() is used instead. This specific behaviour is actively exploited in the implementation of ProcessorHeap and is not portable.

Another example is the use of sched_getcpu() in mx::system::topology which is a Linux-specific function and not part of the POSIX-API.

So, please consider updating the README.md to include Linux as mandatory dependency or make MxTasking POSIX-compliant, i.e. remove the Linux dependencies.

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.