1<!--$Id: mutex.so,v 1.4 2007/09/26 15:11:32 bostic Exp $--> 2<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 3<!--See the file LICENSE for redistribution information.--> 4<html> 5<head> 6<title>Berkeley DB Reference Guide: Release 4.4: mutexes</title> 7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 9</head> 10<body bgcolor=white> 11<table width="100%"><tr valign=top> 12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td> 13<td align=right><a href="/upgrade.4.4/joinenv.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.4.4/clear.html"><img src="/images/next.gif" alt="Next"></a> 14</td></tr></table> 15<p align=center><b>Release 4.4: mutexes</b></p> 16<p>The DB_ENV>set_tas_spins and DB_ENV>get_tas_spins methods have 17been renamed to <a href="/api_c/mutex_set_tas_spins.html">DB_ENV->mutex_set_tas_spins</a> and 18<a href="/api_c/mutex_set_tas_spins.html">DB_ENV->mutex_get_tas_spins</a> to match the new mutex support in the Berkeley DB 194.4 release. Applications calling the old methods should be updated to 20use the new method names.</p> 21<p>For backward compatibility, the string "set_tas_spins" is still supported 22in <a href="/ref/env/db_config.html#DB_CONFIG">DB_CONFIG</a> files.</p> 23<p>The --with-mutexalign=ALIGNMENT compile-time configuration option has 24been removed from Berkeley DB configuration. Mutex alignment should now be 25configured at run-time, using the <a href="/api_c/mutex_set_align.html">DB_ENV->mutex_set_align</a> method.</p> 26<table width="100%"><tr><td><br></td><td align=right><a href="/upgrade.4.4/joinenv.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.4.4/clear.html"><img src="/images/next.gif" alt="Next"></a> 27</td></tr></table> 28<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 29</body> 30</html> 31