[erlang-questions] [BUG?] superfluous values for io:format cause process to block

Matej Kosik kosik@REDACTED
Sun Jul 29 10:51:25 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I would like to ask whether it is OK to count with the fact commands
such as:

	-export([t21/0, t22/0]).
	t21() ->
	    spawn(?MODULE, t22, []).

	t22() ->
	    io:format("DEBUG before~n"),
	    io:format("", [whatever]),
	    io:format("DEBUG after~n").

will spawn a new process that will block at its second statement.
That is, it will not print

	DEBUG after

?

Thanks for help,
Regards
- --
Matej Kosik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrFUNL+CaXfJI/hgRAklUAJwKlf0Q/29NqaxCgURHIirVClv/OgCfXPOj
x9xw1OrJQR+bavUWUcw+nxE=
=wpnn
-----END PGP SIGNATURE-----



More information about the erlang-questions mailing list