#include <stdio.h>
#include <cstddef>
-#include "util.h"
+#include <movit/util.h>
using namespace std;
{
Frame vf;
- std::unique_lock<std::mutex> lock(freelist_mutex); // Meh.
+ unique_lock<mutex> lock(freelist_mutex); // Meh.
if (freelist.empty()) {
printf("Frame overrun (no more spare PBO frames), dropping frame!\n");
} else {
printf("%d bytes overflow after last (PBO) frame\n", int(frame.overflow));
}
- std::unique_lock<std::mutex> lock(freelist_mutex);
+ unique_lock<mutex> lock(freelist_mutex);
freelist.push(frame);
//--sumsum;
}