GithubHelp home page GithubHelp logo

isabella232 / libatomic_ops Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unity-technologies/libatomic_ops

0.0 0.0 0.0 1.89 MB

The atomic_ops project (Atomic memory update operations portable implementation)

Home Page: https://github.com/ivmai/libatomic_ops/wiki/Download

License: Other

Makefile 1.81% Shell 0.04% M4 1.02% C 81.54% C++ 15.52% Assembly 0.07%

libatomic_ops's Introduction

The atomic_ops library (libatomic_ops)

This is version 7.4.2 of libatomic_ops.

You might find a more recent version here, or here.

Overview

This package provides semi-portable access to hardware-provided atomic memory update operations on a number architectures. These might allow you to write code:

  • That does more interesting things in signal handlers.

  • Makes more effective use of multiprocessors by allowing you to write clever lock-free code. Note that such code is very difficult to get right, and will unavoidably be less portable than lock-based code. It is also not always faster than lock-based code. But it may occasionally be a large performance win.

  • To experiment with new and much better thread programming paradigms, etc.

For details and licensing restrictions see the files in the "doc" subdirectory.

Please address bug reports to mailing list.

Installation and Usage

The configuration and build scripts for this package were generated by Automake/Autoconf. "./configure; make; sudo make install" in this directory should work. For a more customized build, see the output of "./configure --help".

Note that much of the content of this library is in the header files. However, two small libraries are built and installed:

  • libatomic_ops.a is a support library, which is not needed on some platforms. This is intended to be usable, under some mild restrictions, in free or proprietary code, as are all the header files. See doc/LICENSING.txt.

  • libatomic_ops_gpl.a contains some higher level facilities. This code is currently covered by the GPL. The contents currently correspond to the headers atomic_ops_stack.h and atomic_ops_malloc.h.

Platform Specific Notes

Win32/64: src/Makefile.msft contains a very simple Makefile for building and running tests and building the gpl library. The core atomic_ops implementation is entirely in header files.

HP-UX/PA-RISC: aCC -Ae won't work as a C compiler, since it doesn't support inline assembly code. Use cc.

Copyright & Warranty

See doc/LICENSING.txt file.

libatomic_ops's People

Contributors

badboy avatar bhaible avatar gtalis avatar hjl-tools avatar ivmai avatar joncham avatar joshpeterson avatar linas avatar manuel-serrano avatar mirabilos avatar paurkedal avatar tautvydaszilys avatar yroux avatar

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.