various missing files
This commit is contained in:
parent
9410980885
commit
113d63c8b2
2 changed files with 29 additions and 0 deletions
12
src/compress/lzma.cpp
Normal file
12
src/compress/lzma.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#include <fc/compress/lzma.hpp>
|
||||||
|
|
||||||
|
namespace fc {
|
||||||
|
|
||||||
|
std::vector<char> lzma_compress( const std::vector<char>& in )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
std::vector<char> lzma_decompress( const std::vector<char>& compressed )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace fc
|
||||||
17
tests/sleep.cpp
Normal file
17
tests/sleep.cpp
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#include <fc/thread/thread.hpp>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main( int argc, char** argv )
|
||||||
|
{
|
||||||
|
fc::thread test("test");
|
||||||
|
auto result = test.async( [=]() {
|
||||||
|
while( true )
|
||||||
|
{
|
||||||
|
fc::usleep( fc::microseconds(1000) );
|
||||||
|
}
|
||||||
|
});
|
||||||
|
char c;
|
||||||
|
std::cin >> c;
|
||||||
|
test.quit();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue