8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 00:00:39 +01:00
Commit Graph

42 Commits

Author SHA1 Message Date
asfernandes
0b2ffeae81 Misc. 2011-04-30 02:28:31 +00:00
hvlad
eecde7801c Windows version of PlatformAtomicPointer 2011-04-29 19:11:43 +00:00
alexpeshkoff
b77154b2b5 Cleanup: make fb_atomic be the single file working with atomic operations and membars 2011-04-29 15:50:04 +00:00
hvlad
b0b1db9fc1 Typo and missed cast 2011-04-29 12:03:52 +00:00
hvlad
59c4f7bb9f Let PlatformAtomicCounter::setValue() returns old value on Windows too 2011-04-29 11:12:29 +00:00
alexpeshkoff
09ecefd320 Fixed posix build 2011-04-29 09:25:06 +00:00
hvlad
c65bbf74ca Preparing for the shared page cache : new sync objects ported from Vulcan 2011-04-28 14:35:58 +00:00
asfernandes
b5cfdbf513 Misc 2010-10-27 00:32:58 +00:00
alexpeshkoff
3fc570d729 Patches from Damyan Ivanov 2010-10-25 15:48:35 +00:00
verbguy
5e904927f7 front port recent 2.5 HPUX changes 2009-11-02 21:08:58 +00:00
verbguy
56f291e05f HP-UX changes - 64-bit atomic counters, support for HP-UX 11 v2, and small tweak of build options 2009-09-29 19:13:51 +00:00
verbguy
45bbbe0613 Improvement CORE-2619: make Solaris 10 atomic counters 64-bit 2009-09-28 17:14:24 +00:00
robocop
19323b3801 Misc. 2009-09-22 09:44:03 +00:00
alexpeshkoff
0396da5147 Improvement CORE-2619: make atomic counters 64-bit for 64-bit builds on AIX, linux and with libatomic 2009-09-22 09:08:57 +00:00
hvlad
46a72fcc51 Improvement CORE-2619 : Make memory and other statistics to work with 64-bit values.
Part (a) for Win64 - allow Win64 builds of engine to account memory stats using 64-bit values
2009-09-09 10:23:54 +00:00
alexpeshkoff
d533492e3a comment 2009-07-28 12:03:58 +00:00
alexpeshkoff
ae4855b4b3 Implementation of atomic counter using libatomic_ops. Useful at least for s390/linux. 2009-07-28 11:16:31 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
alexpeshkoff
4506ae61bc Solaris 9 patch from SAS 2009-07-21 08:58:28 +00:00
alexpeshkoff
5ac9a5e003 HPUX port 2009-06-05 10:04:45 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
alexpeshkoff
ab4ef3b7e5 Fixed solaris atomic operations 2009-04-16 08:59:21 +00:00
alexpeshkoff
71bc64f6e1 Fixed solaris implementation - thanks to Claudio 2009-04-06 15:44:29 +00:00
alexpeshkoff
26d31f5e2e Native Solaris AtomicCounter - required for non-intel build 2009-04-03 13:09:58 +00:00
alexpeshkoff
15e7df3ac7 AIX port 2009-01-14 13:58:41 +00:00
asfernandes
eed6013f7c Misc 2009-01-11 00:40:46 +00:00
alexpeshkoff
c4fa4b094f Removed generic (mutex-based) atomic counter. It violates fb 2.5 global variables
construction rules, therefore does not work at all - and even if fixed is highly
not-efficient if attempted in production build. Actually it never worked reliably
(causing random faults in places like MemoryPool), therefore it looks like it's
better not to have such buggy implementation at all.

Added AIX implememntation - using AIX atomic functions.
2009-01-09 14:44:53 +00:00
alexpeshkoff
1aead3cb62 fixed posix/intel build 2008-12-15 18:03:43 +00:00
robocop
f140cbb7d2 Before I put the "explicit" modifier on AtomicCounter's constructor, the compiler was generating a temporary AtomicCounter on the fly and later assigning it to the target AtomicCounter instance to satisfy an assignment of an integer to an AtomicCounter. I'm not sure we want to allow (and worse, foster) the copying of AtomicCounter instances or temporaries created by the compiler, hence I implemented a new method and fixed the code, but I don't know how to write the best code for one group of platforms in fb_atomic.h, hence I wrote the method with a syntax problem to be caught by someone who knows better. 2008-12-13 09:19:22 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
robocop
1cdd4e4126 Clean the sources from VC6 hacks. 2008-05-14 05:17:53 +00:00
robocop
ee46acd6bc Misc. 2008-04-03 13:17:32 +00:00
asfernandes
f0299cfb29 Misc 2008-04-03 01:11:26 +00:00
alexpeshkoff
aafed20fe1 Fixed problems with shutting down actively running engine - related with CORE-1805. 2008-04-02 14:26:17 +00:00
paulbeach
978dabb8f2 64bit MacOS use __x86_64__ instead of DARWIN64 as per Adriano 2008-02-08 10:49:25 +00:00
paulbeach
aa44c442ce 64bit MacOS 2008-02-06 16:51:00 +00:00
asfernandes
de8771570f Misc 2008-01-29 01:36:41 +00:00
mkubecek
2c98e5b193 added missing namespace 2008-01-27 02:33:14 +00:00
skidder
32baa87086 Change license for source files which I wrote 2004-06-30 01:26:40 +00:00
brodsom
8699aec9c9 -Avoid shadow warning 2004-05-12 19:23:17 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
skidder
f26d84f76b 1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets 2004-03-25 23:12:50 +00:00