How to Install and Uninstall libconcurrentqueue-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 07,2024

1. Install "libconcurrentqueue-dev" package

Please follow the guidance below to install libconcurrentqueue-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libconcurrentqueue-dev

2. Uninstall "libconcurrentqueue-dev" package

Please follow the guidance below to uninstall libconcurrentqueue-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libconcurrentqueue-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libconcurrentqueue-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libconcurrentqueue-dev
Architecture: all
Version: 1.0.2+ds-3
Priority: optional
Section: universe/libdevel
Source: concurrentqueue
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Med Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 203
Filename: pool/universe/c/concurrentqueue/libconcurrentqueue-dev_1.0.2+ds-3_all.deb
Size: 37228
MD5sum: 0ee8573889e6c9334704c287d8c87645
SHA1: 37a8c2d17b4e7db5b344bbf6db1f520b1be324a0
SHA256: 3fc732ed0a8ea6ea6c70509b7f4d40f017af05fdf4a8f25c98943c25a4d8539b
SHA512: e00f2d971bd28998970b6945b3751fc1f104df4b64ed572d0005fe2477e435b655faf874e88398dcee4d80667cc733f20fe73c122c6c39f0b989e367061d72c4
Homepage: https://github.com/cameron314/concurrentqueue
Description-en: industrial-strength lock-free queue for C++
Features
* Knock-your-socks-off blazing fast performance.
* Single-header implementation. Just drop it in your project.
* Fully thread-safe lock-free queue. Use concurrently from any number
of threads.
* C++11 implementation -- elements are moved (instead of copied)
where possible.
* Templated, obviating the need to deal exclusively with pointers --
memory is managed for you.
* No artificial limitations on element types or maximum count.
Memory can be allocated once up-front, or dynamically as needed.
* Fully portable (no assembly; all is done through standard C++11
primitives).
* Supports super-fast bulk operations.
* Includes a low-overhead blocking version (BlockingConcurrentQueue).
* Exception safe.
.
Reasons to use
.
There are not that many full-fledged lock-free queues for C++. Boost has
one, but it's limited to objects with trivial assignment operators and
trivial destructors, for example. Intel's TBB queue isn't lock-free,
and requires trivial constructors too. There're many academic papers
that implement lock-free queues in C++, but usable source code is hard
to find, and tests even more so.
.
This queue not only has less limitations than others (for the most part),
but it's also faster. It's been fairly well-tested, and offers advanced
features like bulk enqueueing/dequeueing (which, with the new design, is
much faster than one element at a time, approaching and even surpassing
the speed of a non-concurrent queue even under heavy contention).
Description-md5: 923d43076e8a19fd9bbe51a5cac3225d