GithubHelp home page GithubHelp logo

praiskup / libatomic_ops Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ivmai/libatomic_ops

0.0 3.0 0.0 2.07 MB

The atomic_ops project (Atomic memory update operations portable implementation)

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

License: GNU General Public License v2.0

Makefile 2.58% Shell 0.03% M4 1.16% C 81.97% C++ 14.19% Assembly 0.06%

libatomic_ops's Introduction

The atomic_ops library (libatomic_ops)

IN NEW CODE, PLEASE USE C11 OR C++14 STANDARD ATOMICS INSTEAD OF THIS PACKAGE.

Travis-CI build status AppVeyor CI build status Coveralls test coverage status Coverity Scan build status

This is version 7.7.0 (next release development) of libatomic_ops.

Download

You might find a more recent/stable version on the Download page, or BDWGC site.

Also, the latest bug fixes and new features are available in the development repository.

Overview

This package provides semi-portable access to hardware-provided atomic memory update operations on a number of 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.

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. To build it from the development repository, ./autogen.sh should be executed first.

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 libatomic_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.

Feedback, Contribution, Questions and Notifications

Please address bug reports and new feature ideas to GitHub issues. Before the submission please check that it has not been done yet by someone else.

If you want to contribute, submit a pull request to GitHub.

If you need help, use Stack Overflow. Older questions on the site can be found by this query. Older technical discussions are also available in bdwgc mailing list archive - it can be downloaded as a compressed file or browsed at Narkive (please search for atomic keyword).

To get new release announcements, subscribe to RSS feed. (To receive the notifications by email, a 3rd-party free service like IFTTT RSS Feed can be setup.) To be notified on all issues, please watch the project on GitHub.

Copyright & Warranty

See doc/LICENSING.txt file.

libatomic_ops's People

Contributors

ivmai avatar hboehm avatar paurkedal avatar yroux avatar jcowgill avatar ffabbri4 avatar hjl-tools avatar praiskup avatar froggs avatar mirabilos avatar kelledin avatar wzssyqa avatar stevecapperlinaro avatar shlevy avatar manuel-serrano avatar linas avatar kochinc avatar badboy avatar gtalis avatar cmetcalf-tilera avatar bhaible avatar andyli avatar

Watchers

James Cloos avatar  avatar  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.