diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-22 20:46:39 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-22 20:46:39 -0700 |
commit | 23b2a7903505c69f0252fa891c8fc7cac08a58bc (patch) | |
tree | f5fc229163e59bbf132a99184763e3d9c6ae069b | |
parent | ca0510b73a4996862fb6c3a5ade417f38b52dfb6 (diff) |
comment on separate compilation of workers
-rw-r--r-- | system/include/emscripten/emscripten.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/include/emscripten/emscripten.h b/system/include/emscripten/emscripten.h index 2bdee946..0a136f66 100644 --- a/system/include/emscripten/emscripten.h +++ b/system/include/emscripten/emscripten.h @@ -226,7 +226,8 @@ void emscripten_async_prepare_data(char* data, int size, const char *suffix, voi typedef int worker_t; /* - * Create and destroy workers. + * Create and destroy workers. A worker must be compiled separately + * from the main program, and with the BUILD_AS_WORKER flag set to 1. */ worker_t emscripten_create_worker(const char *url); void emscripten_destroy_worker(worker_t worker); |