50 bars that grow and shrink. First CodePen animation :D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang -std=c++11 -o shmem_sparse_matrix shmem_sparse_matrix.cpp -lpthread -lrt -lstdc++ -lm | |
In file included from shmem_sparse_matrix.cpp:5: | |
In file included from /usr/local/include/boost/interprocess/containers/map.hpp:23: | |
In file included from /usr/local/include/boost/container/map.hpp:30: | |
/usr/local/include/boost/container/detail/tree.hpp:464:14: error: type 'const key_compare' (aka 'const boost::container::scoped_allocator_adaptor<boost::interprocess::allocator<int, boost::interprocess::segment_manager<char, | |
boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family, boost::interprocess::offset_ptr<void, long, unsigned long, 0>, 0>, iset_index> > >') does not provide a call operator | |
{ return this->key_comp()(key1, this->key_from(nonkey2)); } | |
^~~~~~~~~~~~~~~~ | |
/usr/local/include/boost/intrusive/detail/tree_value_compare.hpp:180:14: note: in instantiation of function template specialization | |
'boost::container::dtl::key_node_compare<boost::container::scoped_allocator_a |