Use async nifs technique to avoid blocking the BEAM's schedulers #1

Closed
gburd wants to merge 15 commits from gsb-async-nifs into master
Showing only changes of commit 0689cc5f23 - Show all commits

View file

@ -35,7 +35,7 @@ extern "C" {
echo 1000000 > /proc/sys/kernel/threads-max echo 1000000 > /proc/sys/kernel/threads-max
and for all UNIX systems there will be ulimit maximums. */ and for all UNIX systems there will be ulimit maximums. */
#ifndef ASYNC_NIF_MAX_WORKERS #ifndef ASYNC_NIF_MAX_WORKERS
#define ASYNC_NIF_MAX_WORKERS 64 #define ASYNC_NIF_MAX_WORKERS 16
#endif #endif
#include "queue.h" #include "queue.h"