<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi all,<div><br></div><div>I know <span style="line-height: normal; ">when access an ETS table, there are wo locks that need to be taken.</span></div><div><pre style="line-height: normal; ">1) A lock to access the meta table, to convert the numeric table identifier
to a pointer to the actual table.
2) The lock for the table itself (either a read or write lock).</pre><pre style="line-height: normal; ">I know in the SMP modeŁ¬an ETS table must be locked when access it, but I don't make sure that must an ETS table be locked in the non-SMP mode(only one scheduler)?</pre><pre style="line-height: normal; ">Another question is, whether the default ETS table locking is on table-level or on record-level?</pre><pre style="line-height: normal; ">Thanks in advance!</pre><pre style="line-height: normal; "><br></pre></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>