subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1781726 - /subversion/trunk/subversion/libsvn_fs_x/batch_fsync.c
Date Sun, 05 Feb 2017 09:52:26 GMT
Author: stefan2
Date: Sun Feb  5 09:52:26 2017
New Revision: 1781726

URL: http://svn.apache.org/viewvc?rev=1781726&view=rev
Log:
Follow-up to r1781657: Fix build on targets w/o threading support.

* subversion/libsvn_fs_x/batch_fsync.c
  (thread_pool_initialized): Make this flag always available as support
                             for atomics does not depend on threading.

Modified:
    subversion/trunk/subversion/libsvn_fs_x/batch_fsync.c

Modified: subversion/trunk/subversion/libsvn_fs_x/batch_fsync.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/batch_fsync.c?rev=1781726&r1=1781725&r2=1781726&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/batch_fsync.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/batch_fsync.c Sun Feb  5 09:52:26 2017
@@ -229,11 +229,11 @@ struct svn_fs_x__batch_fsync_t
 /* Thread pool to execute the fsync tasks. */
 static apr_thread_pool_t *thread_pool = NULL;
 
+#endif
+
 /* Keep track on whether we already created the THREAD_POOL . */
 static svn_atomic_t thread_pool_initialized = FALSE;
 
-#endif
-
 /* We open non-directory files with these flags. */
 #define FILE_FLAGS (APR_READ | APR_WRITE | APR_BUFFERED | APR_CREATE)
 



Mime
View raw message