Help for this page

Select Code to Download


  1. or download this
    C:\test\lockfree>type lockfree.c
    #include <windows.h>
    ...
    
        printf( "count: %lu time:%.6f\n", s.i, elapsed );
    }
    
  2. or download this
    C:\test\lockfree>lockfree 32 1000000
    threads:32 loops:1000000
    count: 32000000 time:4.171000