Skip to content

Commit

Permalink
After NIF thread usage, this undocumented functionality to force the …
Browse files Browse the repository at this point in the history
…execution to a specific scheduler is not needed anymore (anyway it could cause scheduler blocking).

This is from ninenines#13
  • Loading branch information
brainstormi authored and Chris Rees committed Aug 30, 2016
1 parent 280ea09 commit c63044f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hello_sdl/hello_sdl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-export([run/0]).

run() ->
spawn_opt(fun init/0, [{scheduler, 0}]).
spawn(fun init/0).

init() ->
ok = sdl:start([video]),
Expand Down

0 comments on commit c63044f

Please sign in to comment.