renamed Sync_queue to sync_queue
This commit is contained in:
parent
7ce22f6135
commit
4a64b2bf5d
@ -1,10 +1,10 @@
|
|||||||
//
|
//
|
||||||
// Sync_queue.h
|
// sync_queue.h
|
||||||
// adapted from an example from Bjarne Stroustrup
|
// adapted from an example from Bjarne Stroustrup
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef __Sync_queue__
|
#ifndef __sync_queue__
|
||||||
#define __Sync_queue__
|
#define __sync_queue__
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
namespace sc {
|
namespace sc {
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class Sync_queue {
|
class sync_queue {
|
||||||
public:
|
public:
|
||||||
void put(const T& val)
|
void put(const T& val)
|
||||||
{
|
{
|
||||||
@ -41,4 +41,4 @@ namespace sc {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* defined(__Sync_queue__) */
|
#endif /* defined(__sync_queue__) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user