| 10 | int w1; |
| 11 | |
| 12 | void c1(char *data, int size, void *arg) { |
| 13 | assert((long)arg == 93); |
| 14 | int *x = (int*)data; |
| 15 | printf("c1: %d,%d\n", x[0], x[1]); |
| 16 | |
| 17 | int result = x[1] % x[0]; |
| 18 | REPORT_RESULT(result); |
| 19 | } |
| 20 | |
| 21 | int main() { |
| 22 | w1 = emscripten_create_worker("worker.js"); |