diff options
author | Andrew Dryga <[email protected]> | 2017-02-12 19:34:56 +0200 |
---|---|---|
committer | Andrew Dryga <[email protected]> | 2017-02-14 11:31:30 +0200 |
commit | ef0e31ffbd35d9f0fe542a231ee450a5ead2bba5 (patch) | |
tree | b30fb92841ffcc2f190cfce86abb328f9b14a4c2 /lib/dialyzer/test/r9c_SUITE_data/src/mnesia/mnesia_locker.erl | |
parent | ec7242c7ed2e98f40b3450d04e21d1806a4009f4 (diff) | |
download | otp-ef0e31ffbd35d9f0fe542a231ee450a5ead2bba5.tar.gz otp-ef0e31ffbd35d9f0fe542a231ee450a5ead2bba5.tar.bz2 otp-ef0e31ffbd35d9f0fe542a231ee450a5ead2bba5.zip |
Fixed typos in lib/dialyzer
Diffstat (limited to 'lib/dialyzer/test/r9c_SUITE_data/src/mnesia/mnesia_locker.erl')
-rw-r--r-- | lib/dialyzer/test/r9c_SUITE_data/src/mnesia/mnesia_locker.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/dialyzer/test/r9c_SUITE_data/src/mnesia/mnesia_locker.erl b/lib/dialyzer/test/r9c_SUITE_data/src/mnesia/mnesia_locker.erl index 701aa8f598..accb631f2a 100644 --- a/lib/dialyzer/test/r9c_SUITE_data/src/mnesia/mnesia_locker.erl +++ b/lib/dialyzer/test/r9c_SUITE_data/src/mnesia/mnesia_locker.erl @@ -170,14 +170,14 @@ loop(State) -> end; %% If test_set_sticky fails, we send this to all nodes - %% after aquiring a real write lock on Oid + %% after acquiring a real write lock on Oid {stick, {Tab, _}, N} -> ?ets_insert(mnesia_sticky_locks, {Tab, N}), loop(State); %% The caller which sends this message, must have first - %% aquired a write lock on the entire table + %% acquired a write lock on the entire table {unstick, Tab} -> ?ets_delete(mnesia_sticky_locks, Tab), loop(State); @@ -738,11 +738,11 @@ dirty_sticky_lock(Tab, Key, Nodes, Lock) -> sticky_wlock_table(Tid, Store, Tab) -> sticky_lock(Tid, Store, {Tab, ?ALL}, write). -%% aquire a wlock on Oid +%% acquire a wlock on Oid %% We store a {Tabname, write, Tid} in all locktables %% on all nodes containing a copy of Tabname %% We also store an item {{locks, Tab, Key}, write} in the -%% local store when we have aquired the lock. +%% local store when we have acquired the lock. %% wlock(Tid, Store, Oid) -> {Tab, Key} = Oid, |