arudradey's picture
download
raw
555 Bytes
// Copyright 2015 The Emscripten Authors. All rights reserved.
// Emscripten is available under two separate licenses, the MIT license and the
// University of Illinois/NCSA Open Source License. Both these licenses can be
// found in the LICENSE file.
#include <stdio.h>
#include <emscripten.h>
#include <assert.h>
int main() {
// infinite main loop, turned async via asyncify
int counter = 0;
while (1) {
printf("frame: %d\n", ++counter);
emscripten_sleep(100);
if (counter == 10) {
return 0;
}
}
__builtin_trap();
}

Xet Storage Details

Size:
555 Bytes
·
Xet hash:
0777f7cae33ba309667b0cf91d82390f34356eb15a952d0f1db446fd2d22187e

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