Closed kevsmith closed 10 years ago
The NIF message send API is not thread safe in non-SMP Erlang VMs. As a result, erlzmq causes the BEAM to dump core in single-core configurations.
This change detects when the BEAM is running in non-SMP mode, logs a descriptive error message, and then stops the VM.
It looks pretty straight forward to me. thumbs up
LGTM
The NIF message send API is not thread safe in non-SMP Erlang VMs. As a result, erlzmq causes the BEAM to dump core in single-core configurations.
This change detects when the BEAM is running in non-SMP mode, logs a descriptive error message, and then stops the VM.