commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject cvs commit: jakarta-commons-sandbox/transaction/xdocs/locks tutorial.xml
Date Mon, 01 Nov 2004 11:36:02 GMT
ozeigermann    2004/11/01 03:36:02

  Modified:    transaction/xdocs/locks tutorial.xml
  Log:
  Made lines a bit shorter to fit in a normal display
  
  Revision  Changes    Path
  1.4       +4 -2      jakarta-commons-sandbox/transaction/xdocs/locks/tutorial.xml
  
  Index: tutorial.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/transaction/xdocs/locks/tutorial.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tutorial.xml	31 Oct 2004 20:39:57 -0000	1.3
  +++ tutorial.xml	1 Nov 2004 11:36:02 -0000	1.4
  @@ -228,14 +228,16 @@
   
   <source>
   searchLock.acquire("search request", SHARED_LOCK, true, true, Long.MAX_VALUE);
  -writeLock.acquire("search request", EXCLUSIVE_LOCK, true, GenericLock.COMPATIBILITY_REENTRANT_AND_SUPPORT,
Long.MAX_VALUE);
  +writeLock.acquire("search request", EXCLUSIVE_LOCK, true, 
  +            GenericLock.COMPATIBILITY_REENTRANT_AND_SUPPORT, Long.MAX_VALUE);
   </source>
   
   <p>and</p>
   
   <source>
   writeLock.acquire("write request", SHARED_LOCK, true, true, Long.MAX_VALUE);
  -searchLock.acquire("write request", EXCLUSIVE_LOCK, true, GenericLock.COMPATIBILITY_REENTRANT_AND_SUPPORT,
Long.MAX_VALUE);
  +searchLock.acquire("write request", EXCLUSIVE_LOCK, true, 
  +            GenericLock.COMPATIBILITY_REENTRANT_AND_SUPPORT, Long.MAX_VALUE);
   </source>
   
   <p>As much for our short round trip. More information about this additional compatibility
can be found <a
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message