Feature to enable asynchronous event driven of network events
replace 111 error code literal with ERRNO_CODES.ECONNREFUSED as prompted by juj
Improve callback mechanism to allow an arbitrary userData pointer to be passed during callback registration that will subsequently be passed to the callback
Improve error handling on getsockopt when a level other than SOL_SOCKET or an optname other than SO_ERROR is supplied as per the conversation with juj
Make debug message for the default logging on error handler use Module.printErr rather than Module.print as suggested by juj
Add some more documentation to emscripten.h to explain that the JavaScript error callback takes an array containing the file descriptor, error code and error message.
Modify server on error to be consistent with the client on error
fix the build failures (we should only delete the jcache directory, not everything)
Add missing libc files to the build.
add pkg-config files for some supported libraries
Exit from src/compiler.js with a nonzero return code on exception. Replaces #2453.
simplify some code and remove a frequent, unnecessary null pointer check in the generated javascript
move check for noExitRuntime into exit(), and fix up tests
fix process.exit call for closure
generate libc/libc++ using multiple cores
remove obsolete test_async_exit
Fix emcmake to work on Windows as well.
Move CMake toolchain variable unset higher up in the file, and document it better.
When using emconfigure/emcmake to invoke cmake toolchain, don't pass in EMMAKEN_JUST_CONFIGURE=1, since that breaks CMake configuration because CMake expects to be able to build identically at config and build time. This fixes CMake check_include_file() with Emscripten. Add tests to make sure that it doesn't regress.
avoid the need for replacing backslashes with slashes on windows for some settings