diff options
author | Lukas Larsson <[email protected]> | 2013-08-01 15:50:46 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 15:15:56 +0100 |
commit | 48201abc7961b44be9e5cf0feb74d18a399d6099 (patch) | |
tree | 6efb3624e998e5b4594ff8e230234b3041833021 /erts/emulator/beam/beam_emu.c | |
parent | 06928bcd1ff6ede831bb36395ab94761c85d780b (diff) | |
download | otp-48201abc7961b44be9e5cf0feb74d18a399d6099.tar.gz otp-48201abc7961b44be9e5cf0feb74d18a399d6099.tar.bz2 otp-48201abc7961b44be9e5cf0feb74d18a399d6099.zip |
erts: Make source file info available in lc
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index ceff43b24f..c82d2fb2be 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -71,7 +71,8 @@ do { \ ERTS_SMP_LC_ASSERT(!erts_thr_progress_is_blocking()); \ } while (0) # define ERTS_SMP_REQ_PROC_MAIN_LOCK(P) \ - if ((P)) erts_proc_lc_require_lock((P), ERTS_PROC_LOCK_MAIN) + if ((P)) erts_proc_lc_require_lock((P), ERTS_PROC_LOCK_MAIN,\ + __FILE__, __LINE__) # define ERTS_SMP_UNREQ_PROC_MAIN_LOCK(P) \ if ((P)) erts_proc_lc_unrequire_lock((P), ERTS_PROC_LOCK_MAIN) # else |