tahamajs's picture
download
raw
480 Bytes
#include "types.h"
#include "user.h"
#define PROCS_NUM 5
int main()
{
for (int i = 0; i < PROCS_NUM; ++i)
{
int pid = fork();
if (pid == 0)
{
sleep(5000);
for (int j = 0; j < 1000; ++j)
{
int x = 1;
for (long k = 0; k < 100000; ++k)
x++;
}
exit();
}
}
for (int i = 0; i < PROCS_NUM; i++)
wait();
exit();
}

Xet Storage Details

Size:
480 Bytes
·
Xet hash:
b1d3d37eedf7ef510b3cbc619f97100957a995163d80861c832e29399e27c54e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.