Execute NIF calls on non-scheduler threads asynchronously #6

Merged
gburd merged 72 commits from gsb-async-nifs3 into master 2013-04-23 00:54:56 +00:00
Showing only changes of commit a1459ce607 - Show all commits

View file

@ -377,7 +377,7 @@ max_sessions(Config) ->
establish_utility_cursors(Connection, Table) -> establish_utility_cursors(Connection, Table) ->
case wterl:cursor_open(Connection, Table) of case wterl:cursor_open(Connection, Table) of
{ok, IsEmptyCursor} -> {ok, IsEmptyCursor} ->
case wterl:cursor_open(Connection, "table:statistics", [{statistics_fast, true}]) of case wterl:cursor_open(Connection, "statistics:" ++ Table, [{statistics_fast, true}]) of
{ok, StatusCursor} -> {ok, StatusCursor} ->
{ok, IsEmptyCursor, StatusCursor}; {ok, IsEmptyCursor, StatusCursor};
{error, Reason1} -> {error, Reason1} ->