Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  [erts] Fix build without native atomics
  • Loading branch information
rickard-green committed Apr 24, 2023
2 parents 31a3022 + e0068c2 commit 98e3bf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erts/emulator/beam/erl_process_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,7 @@ erts_proc_lock_wait_until_released(Process *p, ErtsProcLocks locks)
#if ERTS_PROC_LOCK_OWN_IMPL
#if !ERTS_PROC_LOCK_ATOMIC_IMPL
Uint32 was_locked;
erts_pix_lock_t *pix_lck = ERTS_PID2PIXLOCK(p->common.id);
erts_pix_lock(pix_lck);
was_locked = (ERTS_PROC_LOCK_FLGS_READ_(&p->lock) & locks);
erts_pix_unlock(pix_lck);
Expand Down

0 comments on commit 98e3bf2

Please sign in to comment.