Skip to content

Instantly share code, notes, and snippets.

View DonOregano's full-sized avatar

Lars Hagström DonOregano

  • Uppsala, Sweden
View GitHub Profile
#Maintainer: Kyle Keen <keenerd@gmail.com?>
pkgname=gnuradio-iio-git
_gitname=gr-iio
pkgver=20190823
pkgrel=1
pkgdesc="IIO blocks for GNU Radio"
url="https://github.com/analogdevicesinc/gr-iio"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('libad9361-iio')
@DonOregano
DonOregano / .gitignore
Last active August 29, 2015 14:05
signalling_test
CMakeCache.txt
CMakeFiles
CMakeLists.txt.user
Makefile
named_semaphore_and_atomics
named_semaphore_and_mt
signals
unix_sockets
cmake_install.cmake
@DonOregano
DonOregano / Boost_container_problem.cpp
Last active August 29, 2015 13:58
Short program demonstrating bug in boost containers.
#include <boost/interprocess/containers/vector.hpp>
#include <boost/interprocess/containers/string.hpp>
#include <boost/interprocess/managed_shared_memory.hpp>
#include <iostream>
template <class T>
struct VectorShm
{
typedef boost::interprocess::allocator<T, boost::interprocess::managed_shared_memory::segment_manager> Allocator;
typedef boost::interprocess::vector<T, Allocator> Type;