BSD Ports

devel/libatomic_ops 7.10.0 NetBSD

Multi-platform library of atomic operations by Hans Boehm

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
devel
Package size
93.8 KiB, 795.1 KiB installed

Description

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

In the other systems

SystemPortVersion
NetBSDdevel/libatomic_ops7.10.0
FreeBSDdevel/libatomic_ops7.10.0
DragonFlydevel/libatomic_ops7.8.0
MidnightBSDdevel/libatomic_ops7.10.0

Install

Binary package:

pkgin install libatomic_ops

From pkgsrc:

cd /usr/pkgsrc/devel/libatomic_ops && make install clean

Dependencies