Use the native Windows thread support instead of pthread

This commit is contained in:
Andrea Mazzoleni 2016-02-12 19:12:38 +01:00
parent 42330c05b6
commit 86eaf8190f
4 changed files with 158 additions and 109 deletions

View file

@ -250,6 +250,9 @@ void test(void)
int main(void)
{
unsigned i;
lock_init();
for (i = 1; i <= 16; ++i) {
/* test with different stream buffer size */