Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TBB Concurrent Queue (header only)

Build Status Apache License Version 2.0 Stable release

TBB Concurrent Queue is a header-only version of the Concurrent Queue provided by the library Threading Building Blocks (TBB).

Usage

#include <tbb/header_only/concurrent_queue.h>
#include <iostream>

int main() {

  tbb::concurrent_bounded_queue<int> queue;

  for (int i = 0; i < 10; i++)
  {
    queue.push(i);
  }

  int n;
  while (!queue.empty())
  {
    queue.pop(n);
    std::cout << n << std::endl;
  }

  return 0;
}

Documentation

Read the full documentation on the Intel Website

About

Header-only version of the TBB concurent queue

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages