repo.or.cz
/
nova-tt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into scmaster
[nova-tt.git]
/
testsuite
/
thread_affinity_test.cpp
blob
161fc4e6169b1d52dac48fbc3879427ea91ffe21
1
#define BOOST_TEST_MAIN
2
#include
"thread_affinity.hpp"
3
#include <boost/test/included/unit_test.hpp>
4
5
6
BOOST_AUTO_TEST_CASE
(
affinity_test
)
7
{
8
BOOST_REQUIRE
(
nova
::
thread_set_affinity
(
0
));
9
}