alexpeshkoff
d91792c9e2
Added initialization - thanks to Adriano
2009-11-04 09:50:37 +00:00
alexpeshkoff
4dc99001af
Vulcan improvement - keep reason of locking to be viewed by debugger
2009-11-03 13:31:24 +00:00
skidder
aca5a83a46
Fixed CORE-2609: Update support for Windows 98/ME and NT4.0
2009-08-30 19:00:46 +00:00
alexpeshkoff
a202c46dc0
Use more standard macro
2009-07-21 11:51:27 +00:00
alexpeshkoff
4506ae61bc
Solaris 9 patch from SAS
2009-07-21 08:58:28 +00:00
asfernandes
10328dff3b
Misc
2009-05-06 02:02:37 +00:00
alexpeshkoff
cef41b3286
1. Solaric/Sparc SunProCC port.
...
2. Cleanup SOLARIS_MT threading model.
2009-05-05 08:06:37 +00:00
roman-simakov
1a4949891b
Refactored NBackup subsystem.
...
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
alexpeshkoff
bd680bcb47
Solaris port
2008-12-28 15:26:05 +00:00
robocop
761f0348ea
Style.
2008-12-13 09:26:00 +00:00
alexpeshkoff
017a5b6759
HPUX port
2008-12-11 10:59:26 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
dimitr
8e72ece026
Uncouple Mutex and RefMutex. This resolves the circular dependency: "AtomicCounter->Mutex->RefCounted->AtomicCounter" and thus enables all non-x86 POSIX builds.
2008-10-19 11:41:43 +00:00
asfernandes
7a5b0121d8
Misc
2008-09-14 23:17:58 +00:00
dimitr
2e60c908ef
Fixed the annoying warning in 64-bit builds.
2008-09-12 14:12:47 +00:00
robocop
5b0a5ded86
Style.
2008-04-18 10:03:04 +00:00
robocop
b3de41ea87
Misc.
2008-03-28 13:25:47 +00:00
alexpeshkoff
21ca11f328
1. Moved processing of exceptions in guards' dtors to better place.
...
2. Added class Reference (RefCounted guard) and use it in the tree.
2008-03-25 08:44:11 +00:00
dimitr
a8963cb9db
Make the reference counting a common feature.
2008-03-20 13:00:31 +00:00
asfernandes
262dbadc4f
Misc
2008-03-15 17:55:27 +00:00
robocop
462e6f66a3
Use the template type.
2008-03-15 10:26:36 +00:00
hvlad
ebc4644ea1
Add check in WIN_NT's DEV_BUILD for correct mutex unlocking\deleting.
...
Implement new EnsureUnlock class for use instead of (or together with) LockGuard's if LockGuard is not usable.
2008-03-13 12:54:31 +00:00
asfernandes
12c50384b5
Misc
2008-03-13 02:43:32 +00:00
alexpeshkoff
4139292369
added new method to posix threads mutex
2008-03-12 13:36:33 +00:00
hvlad
6c17170820
Made Mutex::tryEnter more efficient. Per Claudio request
2008-03-12 08:17:15 +00:00
hvlad
a4c75379e9
Correction, noted by Alex
2008-03-11 14:33:09 +00:00
hvlad
b033934400
Implement Mutex::tryEnter and new RefMutex class - mutex with reference counted lifetime
2008-03-11 14:08:23 +00:00
alexpeshkoff
cbed6dbcf2
Explicit init for mutexes - thanks to Claudio
2008-02-11 09:52:32 +00:00
asfernandes
691fb487d8
Misc
2008-02-06 00:43:54 +00:00
alexpeshkoff
ee6c433597
Mutexes cleanup:
...
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
robocop
0d1985d1f0
Misc, explicit constructors, extra commas in enumerations, constness, etc.
2008-02-02 16:57:15 +00:00
asfernandes
ce0ae486c5
Misc
2008-01-29 18:07:37 +00:00
alexpeshkoff
35520bc1f1
fixed posix SS - use recursive mutex to protect security DB access
2008-01-29 15:03:34 +00:00
dimitr
e1d53429ae
Fixed the win32 build.
2008-01-23 19:27:36 +00:00
asfernandes
aea2bcb354
Misc
2008-01-23 19:03:16 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
8ef0e6aba7
The merge continued.
2008-01-16 06:24:06 +00:00
paulbeach
1644f2cb64
MacOS Port into HEAD
2007-06-11 14:21:33 +00:00
dimitr
f5799df0ef
Correction.
2006-05-03 07:06:23 +00:00
dimitr
b4304d3998
Let's separate Mutex and Spinlock.
2006-05-03 05:44:26 +00:00
alexpeshkoff
addf657da0
use mutex instead of spin lock
2005-12-18 16:10:48 +00:00
kkuznetsov
f922e000b7
Comments cleanup
2005-02-17 12:42:49 +00:00
robocop
4012106884
Misc.
2004-12-25 09:44:03 +00:00
kkuznetsov
af0ab61ae2
Some things is moved from R1.5.1.
...
Starting separating of defines accoding
SOLARIS -- any threading modes
SOLARIS_MT - solaris with Sun threading model
current nothing - solaris with posix threading model
2004-12-24 09:35:48 +00:00
robocop
0c1c5428f0
Misc: extra semicolons do not help. :-)
2004-11-07 10:52:36 +00:00
skidder
32baa87086
Change license for source files which I wrote
2004-06-30 01:26:40 +00:00
kkuznetsov
a0cd7b2449
hCVS: ----------------------------------------------------------------------
...
Solaris portion of thd.cpp
2004-06-11 14:23:30 +00:00
alexpeshkoff
d28b38c01e
explicit constructor for lock guard
2004-06-08 06:51:13 +00:00
skidder
277788de7a
NetBSD port from James K. Lowden
2004-05-20 23:05:02 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00