Change the behavior of cu_beamr.c -> generic_import_handler, to fill the current_import structure before sending import_request to Erlang and lock the driver just after messaging Erlang to avoid the race condition (when Erlang replies before the current_import structure has the data).
Change the behavior of
cu_beamr.c -> generic_import_handler
, to fill the current_import structure before sending import_request to Erlang and lock the driver just after messaging Erlang to avoid the race condition (when Erlang replies before the current_import structure has the data).