Skip to content
Snippets Groups Projects
Select Git revision
  • 0b093d3d369431087c5c1ead19f4a1e6d6af5cdc
  • master default protected
  • 29-alias-for-apps
  • 30-restructure-ci-version-checking
  • 16-update-documentation
  • 11-write-example-app
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
11 results

sams_hub.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    test_prog.c 413 B
    #include <stdio.h>
    #include <unistd.h>
    
    int main(void)
    {
        // Make sure program is not finished before pb scheduler takes control
        sleep(1);
        int b = 0;
        for (;b < 100; b++) {
          int a = 0;
          int c = 0;
          for (;a < 100000; a++){c = c + a;}
          // check if program runs
          printf("loop run: %d, c = %d \n", b, c);
          // syscall to switch tasks
          usleep(1);
        }
        return 0;
    }