diff options
author | Sverker Eriksson <[email protected]> | 2013-01-25 15:18:40 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-01-28 14:36:25 +0100 |
commit | 9d61b560f2d8a08d6cfc95dd09c0d37c1d994153 (patch) | |
tree | 685f564244597bed31fd64692719a009f466fa01 /lib/megaco/src | |
parent | be062ca7528b3267a6ef08653b001913fc12ae8e (diff) | |
download | otp-9d61b560f2d8a08d6cfc95dd09c0d37c1d994153.tar.gz otp-9d61b560f2d8a08d6cfc95dd09c0d37c1d994153.tar.bz2 otp-9d61b560f2d8a08d6cfc95dd09c0d37c1d994153.zip |
erts: Fix ASSERT crash in erts_try_seize_code_write_permission
ASSERT(code_writing_process != c_p);
The assert was actually harmless and could be removed as one solution.
But I think it's better to keep it as a way to catch bugs that would
otherwise lead to horrible deadlocks if a thread "forgets" to call
erts_release_code_write_permission().
As a result erts_release_code_write_permission() must be called BEFORE
resuming the suspended process.
Diffstat (limited to 'lib/megaco/src')
0 files changed, 0 insertions, 0 deletions