Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 30. Java API > DbEnv.set_tas_spins

DbEnv.set_tas_spins

						import com.sleepycat.db.*;
						static int
						DbEnv.set_tas_spins(u_int32_t tas_spins);
						throws DbException;
					

Description

Specify that test-and-set mutexes should spin tas_spins times without blocking. The value defaults to 1 on uniprocessor systems, and to 50 times the number of processors on multiprocessor systems.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial