/[v1]/trunk/c++/include/corelib/impl/ncbi_atomic_defs.h
ViewVC logotype

Log of /trunk/c++/include/corelib/impl/ncbi_atomic_defs.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 92509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 26 19:30:05 2021 UTC (3 years, 3 months ago) by ucko
File length: 11064 byte(s)
Diff to previous 92508
ncbi_atomic_defs.h: Fully acknowledge ARM64 assembly availability.

JIRA: CXX-11589.

Revision 92508 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 26 19:29:17 2021 UTC (3 years, 3 months ago) by ucko
File length: 11039 byte(s)
Diff to previous 91730
ncbi_atomic_defs.h: Reformat lengthy NCBI_SWAP_POINTERS_EXTERN condition.

JIRA: CXX-11589.

Revision 91730 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 3 14:56:32 2020 UTC (3 years, 5 months ago) by ucko
File length: 10966 byte(s)
Diff to previous 91729
Implement atomic operations for 64-bit ARM (__aarch64__).

Use one-shot ARMv8.1+ atomic extensions (swpal, ldaddal) when
targeting a suitable processor at compile time; otherwise, stick with
ldxr/stlxr-based loops.  JIRA: CXX-11589.

Revision 91729 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 3 14:48:56 2020 UTC (3 years, 5 months ago) by ucko
File length: 10912 byte(s)
Diff to previous 91690
ncbicntr.hpp, ncbi_atomic_defs.h: Formally tweak preprocessor directives.

- ncbicntr.hpp: Properly indent a nested #endif.
- ncbi_atomic_defs.h: Correct parenthesization of NCBI_COUNTER_USE_ASM's
  requirements; clean up a 32-bit-SPARC special case that's now
  clearly redundant.

Revision 91690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 30 16:16:07 2020 UTC (3 years, 5 months ago) by ucko
File length: 10964 byte(s)
Diff to previous 89002
CAtomicCounter: Permit copying even when based on std::atomic<>.

To that end, force automatic generation of a default constructor in
this scenario.  JIRA: CXX-11589.

Revision 89002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 11 15:01:11 2020 UTC (4 years, 3 months ago) by ucko
File length: 10889 byte(s)
Diff to previous 72952
Distinguish GCC, Apple Clang, and LLVM Clang.

- Use distinct NCBI_COMPILER_APPLE_CLANG and NCBI_COMPILER_LLVM_CLANG
  macros (albeit with a convenience NCBI_COMPILER_ANY_CLANG macro)
  due to fully independent version numbering.
- Adjust NCBI_COMPILER_GCC conditionalizations accordingly, taking the
  opportunity to account for the fact that we require GCC 5.x or newer
  nowadays for C++14 support.  (As for the remaining, generally
  unversioned, conditionalizations, some should perhaps also cover
  NCBI_COMPILER_ICC, but ICC builds have been doing fine as is.)
- Introduce a central NCBI_UNUSED macro, defined based on clean
  introspection (NCBI_HAS_CPP_ATTRIBUTE, falling back on GCC
  __has_attribute before bailing to allow for use from C) rather than
  compiler identification.
- Likewise use introspection for nc_utils.hpp's private ATTR_PACKED
  and ATTR_ALIGNED_8 macros, favoring C++14 [[...]] syntax.  (Fallback
  to legacy GCC syntax shouldn't be necessary here, but remains
  present for now just in case.) 

JIRA: CXX-10982.

Revision 72952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 9 18:47:13 2016 UTC (7 years, 11 months ago) by ucko
File length: 11380 byte(s)
Diff to previous 67983
ncbi_atomic_defs.h: Don't try to #include <atomic> under MSVC; its
std::atomic<> has a non-default constructor, so MT-safe initialization
could be problematic, and even including the header yields an error in
"managed" (CLR) mode.  JIRA: GP-17609.

Revision 67983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 30 12:52:35 2015 UTC (8 years, 10 months ago) by vasilche
File length: 11343 byte(s)
Diff to previous 66884
MSVC 2013 implements std::atomic<> with non-default constructor, so it cannot be statically initialized in a MT-safe manner.

Revision 66884 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 30 18:14:50 2015 UTC (9 years, 1 month ago) by ucko
File length: 11184 byte(s)
Diff to previous 66882
ncbi_atomic_defs.h: In single-threaded builds and multithreaded builds
using C++11 std::atomic, use size_t for TNCBIAtomicValue, and define
NCBI_COUNTER_64_BIT when it turns out to be a 64-bit type.  JIRA: CXX-5828.

Revision 66882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 30 18:03:40 2015 UTC (9 years, 1 month ago) by vasilche
File length: 11060 byte(s)
Diff to previous 63335
Added 64-bit atomic counter where possible - currently GCC/ICC/MSVC on Interl x64.
Moved non API CObject counter constant from header to cpp. Added comments. JIRA: CXX-5828

Revision 63335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 13:47:39 2014 UTC (9 years, 10 months ago) by ucko
File length: 10677 byte(s)
Diff to previous 62754
ncbi_atomic_defs.h: Always assess the standard C++'s library version by
including <cstdlib> rather than trying to guess whether GNU libstdc++'s
<bits/c++config.h> is available.  JIRA: CXX-3820, CXX-4913.

Revision 62754 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 5 14:52:32 2014 UTC (10 years ago) by ucko
File length: 10964 byte(s)
Diff to previous 62748
ncbi_atomic_defs.h: Revert accidental logic change that resulted in
favoring C++ '11 <atomic> over inline assembly.  JIRA: CXX-3707.

Revision 62748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 5 14:10:19 2014 UTC (10 years ago) by ucko
File length: 10999 byte(s)
Diff to previous 52700
Favor standard C++ '11 <atomic> over GNU extensions.  JIRA: CXX-3707.

Revision 52700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 14:27:13 2012 UTC (12 years, 3 months ago) by ucko
File length: 10730 byte(s)
Diff to previous 50008
Rework central C++ Toolkit configuration headers' relationships, so that
<ncbiconf.h> pulls in <common/ncbiconf_impl.h>; move the #include
directive for <common/ncbi_skew_guard.h> to the latter.

Revision 50008 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 8 15:18:48 2011 UTC (12 years, 11 months ago) by ucko
File length: 10890 byte(s)
Diff to previous 48383
Check for __powerpc__ and __powerpc64__ in addition to __ppc__ and __ppc64__,
as the symbol name varies between Darwin and Linux.

Revision 48383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 10 19:56:25 2011 UTC (13 years, 4 months ago) by ucko
File length: 10838 byte(s)
Diff to previous 45933
Disable use of Darwin-specific functions, which come from the
deprecated CarbonCore framework; we have assembly versions available,
and can generally also use GCC's __exchange_and_add.  JIRA: CXX-2110.

Revision 45933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 15:27:51 2010 UTC (13 years, 11 months ago) by ucko
File length: 10776 byte(s)
Diff to previous 44220
When building with ICC, favor inline assembly over __exchange_and_add
even if __GLIBCXX__ happened to have been defined, modulo the usual
exception for --with-tcheck configurations.

Revision 44220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 22 15:48:54 2009 UTC (14 years, 4 months ago) by ucko
File length: 10744 byte(s)
Diff to previous 43338
Work around an optimizer bug observed when building PowerPC binaries
with GCC 4.2 on Mac OS X (Darwin) by forcing use of AddAtomic rather
than __gnu_cxx::exchange_and_add.  JIRA: CXX-1469.

Revision 43338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 30 15:41:47 2009 UTC (14 years, 7 months ago) by ucko
File length: 10504 byte(s)
Diff to previous 42292
Conditionalize directly on libstdc++ version (when relevant) rather
than G++ version, which may not always correlate.  (In particular,
accommodate Mac OS X 10.6, which features a G++ 4.2 installation
configured to use libstdc++ 4.0.).

Revision 42292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 23 20:32:45 2009 UTC (14 years, 10 months ago) by ucko
File length: 10384 byte(s)
Diff to previous 40808
Implement a new --with-tcheck flag to optimize build settings for use
with Intel's thread checker.  JIRA: CXX-1153.

Revision 40808 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 22 17:56:37 2009 UTC (15 years, 3 months ago) by gouriano
File length: 9870 byte(s)
Diff to previous 40450
Purge NCBI_OS_MAC code branches. JIRA: CXX-877

Revision 40450 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 16 22:14:48 2008 UTC (15 years, 5 months ago) by lavr
File length: 10182 byte(s)
Diff to previous 40411
Factor out unrelated (but historically dislocated) configuration macros out of ncbitype.h

Revision 40411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 15 15:38:06 2008 UTC (15 years, 5 months ago) by ucko
File length: 10030 byte(s)
Diff to previous 40407
Actually enable use of SwitchToThread on Windows.  (The previous
preprocessor conditionals were slightly off.).

Revision 40407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 15 14:35:19 2008 UTC (15 years, 5 months ago) by ivanov
File length: 9995 byte(s)
Diff to previous 37471
Renamed NCBI_SCHED_[YIELD|INIT] -> NCBI_SCHED_SPIN_[YIELD|INIT] macro and use
it in atomic functions. Added NCBI_SCHED_YIELD implementation without spin lock,
added implementation for MS-Windows.
JIRA: CXX-835

Revision 37471 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 8 15:48:49 2008 UTC (16 years, 1 month ago) by ucko
File length: 9625 byte(s)
Diff to previous 37030
* Per Eugene Vasilchenko's suggestion, favor inline assembly for
  NCBI_COUNTER_ADD over standard library calls as function-call overhead
  can be appreciable, particularly on x86.
* Always define NCBI_COUNTER_RESERVED_VALUE when using hand-rolled
  32-bit Sparc assembly.  (One refactoring a while ago accidentally
  had the side effect of doing so only for GCC builds.)

Revision 37030 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 27 15:26:47 2008 UTC (16 years, 2 months ago) by ucko
File length: 9441 byte(s)
Diff to previous 35819
Always use InterlockedExchangePointer for NCBI_SWAP_POINTERS on
NCBI_OS_MSWIN, as it merely requires MSVC 7 or newer.
JIRA: CXX-286

Revision 35819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 23 13:55:36 2007 UTC (16 years, 6 months ago) by ucko
File length: 9583 byte(s)
Diff to previous 33815
Fix multithreaded builds with GCC 4.2 and up, which place atomicity.h
in ext/ rather than bits/ (thereby officially allowing its public use).

Revision 33815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 4 17:18:18 2007 UTC (17 years ago) by kazimird
File length: 9498 byte(s)
Diff to previous 33424
Fixed svn properties in trunk/c++.

Revision 33424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 12:41:13 2007 UTC (17 years, 1 month ago) by ivanov
File length: 9498 byte(s)
Diff to previous 33384
Added missed ')' to NCBI_SWAP_POINTERS declaration on WIN64

Revision 33384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 18:08:27 2007 UTC (17 years, 1 month ago) by ucko
File length: 9497 byte(s)
Diff to previous 33364
Fix a logic error that gave libxncbi an extraneous (and suboptimal!)
definition of NCBI_SwapPointers in some configurations.

Revision 33364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 9 22:54:37 2007 UTC (17 years, 1 month ago) by vakatov
File length: 9433 byte(s)
Diff to previous 33325
Split <corelib/ncbi_os_mswin.hpp> onto "C" and "C++" parts

Revision 33325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 14:29:05 2007 UTC (17 years, 1 month ago) by ucko
File length: 9430 byte(s)
Diff to previous 33318
Readjust once more, for multithreaded WorkShop configurations w/o atomic.h.

Revision 33318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 21:12:56 2007 UTC (17 years, 1 month ago) by ucko
File length: 9202 byte(s)
Diff to previous 33314
Make it clear that (Solaris's) atomic_swap_ptr is a C function.

Revision 33314 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 18:51:26 2007 UTC (17 years, 1 month ago) by ucko
File length: 9152 byte(s)
Diff to previous 33311
Compensate for versions of Solaris 10 that neglect to declare atomic_swap_ptr.

Revision 33311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 17:33:07 2007 UTC (17 years, 1 month ago) by ucko
File length: 8981 byte(s)
Diff to previous 33309
Use C-style casts throughout.

Revision 33309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 16:31:59 2007 UTC (17 years, 1 month ago) by ucko
File length: 9392 byte(s)
Diff to previous 33300
Fix minor errors in previous revision.

Revision 33300 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 14:26:41 2007 UTC (17 years, 1 month ago) by ucko
File length: 9430 byte(s)
Copied from: trunk/c++/include/corelib/ncbicntr.hpp revision 33277
Diff to previous 33237
Refactor, making SwapPointers available to pure C code.

Revision 33237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 2 13:45:22 2007 UTC (17 years, 1 month ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 11248 byte(s)
Diff to previous 32839
Support multithreaded x86-64 WorkShop configurations.

Revision 32839 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 20:41:55 2007 UTC (17 years, 2 months ago) by kazimird
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 11012 byte(s)
Diff to previous 27028
CVS $Log$ keyword clean-up: everything except "internal".

Revision 27028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 5 01:04:25 2006 UTC (18 years, 2 months ago) by lavr
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 14581 byte(s)
Diff to previous 25407
Attempt to remove "verify" kludge -- since "verify" has been moved away

Revision 25407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 22 22:45:19 2005 UTC (18 years, 5 months ago) by vasilche
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 14942 byte(s)
Diff to previous 25406
Rolled back accidental commit.

Revision 25406 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 22 22:42:43 2005 UTC (18 years, 5 months ago) by vasilche
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 14962 byte(s)
Diff to previous 24694
Explicit specialization of operator<< for FManip.

Revision 24694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 18 16:36:03 2005 UTC (18 years, 6 months ago) by rsmith
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 14860 byte(s)
Diff to previous 15593
fix verify def under DARWIN

Revision 15593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 14 16:15:41 2004 UTC (20 years ago) by dicuccio
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 14781 byte(s)
Diff to previous 15185
Remove unneeded export specifier for CAtomicCounter - the class is entirely
inline for MSVC

Revision 15185 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 26 14:31:46 2004 UTC (20 years ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 14654 byte(s)
Diff to previous 13705
GCC 3.4 has moved __exchange_and_add to the __gnu_cxx namespace.
Split up "+m" constraints for GCC assembly, as versions 3.4 and up
complain about them.

Revision 13705 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 16:46:21 2004 UTC (20 years, 2 months ago) by vasilche
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 14281 byte(s)
Diff to previous 13681
Added spin counter before calling sched_yield().
Use volatile version of pointer for assignment in x_Add().

Revision 13681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 23:28:46 2004 UTC (20 years, 2 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 13996 byte(s)
Diff to previous 13626
Clean up after previous (mislogged) commit, and honor volatility better.

Revision 13626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 17 20:38:04 2004 UTC (20 years, 3 months ago) by rsmith
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 13693 byte(s)
Diff to previous 13308
moved core/settings.[ch]pp and core/system_path.[ch]pp to config and utils, respectively.

Revision 13308 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 4 00:38:03 2004 UTC (20 years, 3 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 13247 byte(s)
Diff to previous 13295
Centralize undefinition of Darwin's check macro.

Revision 13295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 3 19:28:30 2004 UTC (20 years, 3 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 13040 byte(s)
Diff to previous 9769
Darwin: include the master CoreServices header because
DriverSynchronization.h is officially internal.

Revision 9769 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 12:47:09 2003 UTC (20 years, 10 months ago) by siyan
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 12913 byte(s)
Diff to previous 9217
Documentation changes.

Revision 9217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 18:24:28 2003 UTC (20 years, 11 months ago) by rsmith
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 11539 byte(s)
Diff to previous 9207
wrap includes of sched.h (explicit and implicit) in extern "c" blocks, since Apples headers do not do it themselves.

Revision 9207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 15:35:07 2003 UTC (20 years, 11 months ago) by rsmith
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 11358 byte(s)
Diff to previous 9073
OS_DARWIN's AddAtomic returns the previous value, not the incremented value as we require.

Revision 9073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 23 18:16:07 2003 UTC (20 years, 11 months ago) by rsmith
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 11212 byte(s)
Diff to previous 8199
proper definitions for NCBI_COUNTER_ADD on Mac/Darwin

Revision 8199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 31 14:07:04 2003 UTC (21 years, 1 month ago) by siyan
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 11077 byte(s)
Diff to previous 7884
Added doxygen support

Revision 7884 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 19:38:48 2003 UTC (21 years, 2 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 10955 byte(s)
Diff to previous 6972
Make CObject a friend, so that InitCounter can read m_Value directly
rather than going through Get(), which would end up spinning forever
if it came across NCBI_COUNTER_RESERVED_VALUE.

Revision 6972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 18 22:53:21 2002 UTC (21 years, 5 months ago) by dicuccio
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 10572 byte(s)
Diff to previous 6619
Added export specifier for building DLLs in windows.  Added global list of
all such specifiers in mswin_exports.hpp, included through ncbistl.hpp

Revision 6619 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 30 17:14:33 2002 UTC (21 years, 6 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 10337 byte(s)
Diff to previous 6190
Enable inline asm for ICC 6, which seems to be okay with our (modern) syntax.

Revision 6190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 20 13:51:04 2002 UTC (21 years, 7 months ago) by vasilche
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 10073 byte(s)
Diff to previous 6184
Fixed volatile argument to NCBI_COUNTER_ADD

Revision 6184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 19 20:05:44 2002 UTC (21 years, 7 months ago) by vasilche
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 9998 byte(s)
Diff to previous 5934
Safe initialization of static mutexes

Revision 5934 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 19 19:37:17 2002 UTC (21 years, 8 months ago) by vakatov
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 10098 byte(s)
Diff to previous 5656
Use <corelib/ncbi_os_mswin.hpp> in the place of <windows.h>

Revision 5656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 14:23:48 2002 UTC (21 years, 10 months ago) by gouriano
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 9973 byte(s)
Diff to previous 5296
exceptions replaced by CNcbiException-type ones

Revision 5296 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 31 17:48:56 2002 UTC (21 years, 11 months ago) by grichenk
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 9907 byte(s)
Diff to previous 5257
+CMutableAtomicCounter

Revision 5257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 24 18:43:34 2002 UTC (21 years, 11 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 9413 byte(s)
Diff to previous 5255
Use trivial implementation for single-threaded builds.

Revision 5255 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 24 18:06:55 2002 UTC (21 years, 11 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 9135 byte(s)
Diff to previous 5249
Inline assembly leads to ICC compiler errors in some cases, so stop
defining NCBI_COUNTER_ASM_OK for ICC.

Revision 5249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 24 14:20:04 2002 UTC (21 years, 11 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 9011 byte(s)
Diff to previous 5245
Fix Intel extended assembly.
Drop use of FreeBSD <machine/atomic.h>; those functions return void.
Fix name of "nv_value_p" in Add(), and declare it only when needed.

Revision 5245 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu May 23 22:24:23 2002 UTC (21 years, 11 months ago) by ucko
Original Path: trunk/c++/include/corelib/ncbicntr.hpp
File length: 8945 byte(s)
Use low-level atomic operations for reference counts

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

NCBI Systems Team">NCBI Systems Team
ViewVC Help
Powered by ViewVC 1.1.20  

HHS Vulnerability Disclosure