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

209 Commits

Author SHA1 Message Date
asfernandes
c979d91901 Misc 2008-02-19 02:34:55 +00:00
dimitr
dc4390981c Sync declaration with definition. 2008-02-14 07:33:50 +00:00
dimitr
b7a575e43f Cleanup. 2008-02-13 16:47:34 +00:00
dimitr
49d23b6d22 Major changes in the lock manager, targeted to allow mixed in-process/cross-process working modes. Namely, they are:
1) Separate process and owner blocks. Multiplex blocking signals via single blocking thread.
2) Enable direct in-process AST delivery.
3) Drop PREVENT_OWNER_STARVATION code as not compatible with the new LM structure.
4) Synchronize LM using its own mutex instead of SCH.
5) Implement wakeup'n'remap code for waiting owners.
6) Add more debugging points for memory remaps.
7) Cleanup and style.
Hopefully, this attempt is more POSIX-friendly than my previous one.
2008-02-11 17:30:23 +00:00
robocop
83dc6bde8f Constness 2008-02-02 17:07:37 +00:00
robocop
dc74571185 Use a native, two dimensional array. 2008-02-02 17:06:24 +00:00
dimitr
44be88ad53 Cleanup. singnal_owner() is able to handle the direct call itself. 2008-01-31 13:39:30 +00:00
dimitr
01df1923ec Misc. 2008-01-30 10:34:28 +00:00
dimitr
95e6b3f5f9 More complete temporary rollback to the old logic. We don't need 64-bit owner IDs at this point. 2008-01-30 10:33:53 +00:00
dimitr
132176a475 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:52:51 +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
956da93e27 Cleanup. 2008-01-17 13:40:35 +00:00
dimitr
83a070b17a Misc. 2008-01-17 13:10:28 +00:00
alexpeshkoff
bfdf145879 Fixing merge 2008-01-16 13:07:46 +00:00
dimitr
48e81dd58a The merge is being fixed. 2008-01-16 12:22:11 +00:00
dimitr
1dd06bb484 The merge continued. 2008-01-16 07:40:12 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
hvlad
2c76551d48 Correct hash function of lock manager. I don't think that using last four bytes of key is a good hash :) 2007-09-25 20:28:20 +00:00
hvlad
8d6787665c Fix alignment issues 2007-09-07 07:41:07 +00:00
robocop
97dbdef560 Paranoid buffer overrun protection. 2007-09-02 09:52:42 +00:00
asfernandes
ff4145e88d Misc 2007-08-30 02:40:29 +00:00
hvlad
871df7e5c5 Use memcpy instead of byte copying as Adriano suggested 2007-08-29 22:27:31 +00:00
hvlad
b741d97fd5 Make fb_lock_print print lock keys for database pages in page_space:page_number format 2007-08-29 08:33:48 +00:00
dimitr
dd853cc9e8 Fixed an occasional infinite loop in DEV_BUILD. 2007-08-28 08:38:22 +00:00
alexpeshkoff
d34e4014f7 Bacported fix for CORE-1418: Races when starting and quickly shutting down blocking AST thread 2007-08-20 13:28:01 +00:00
alexpeshkoff
1f77b68e2b 1. Fixed AV when fb_lock_mgr exits.
2. Made timeout in LOCK_manager() 10 times smaller - we are not in year 1993.
2007-08-10 08:59:04 +00:00
alexpeshkoff
8f1bad6558 Moved LCK_OWNER constants to lock, where they are actually used, from jrd 2007-08-10 08:29:32 +00:00
asfernandes
613faffafb Misc 2007-08-02 02:00:37 +00:00
robocop
affeac235f Cleanup. 2007-07-29 02:32:41 +00:00
asfernandes
6beb5e28bd Misc 2007-07-26 01:23:18 +00:00
alexpeshkoff
b3031d19c2 Added one more check in DEV_BUILD 2007-07-25 13:26:13 +00:00
skidder
04b9ec818b NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues 2007-04-24 14:05:46 +00:00
alexpeshkoff
38f48eda38 Fixed CORE-107 - instance of fb_lock_manager runs after build 2007-04-11 09:25:21 +00:00
asfernandes
d87a30bf0c Misc 2007-02-23 01:42:10 +00:00
alexpeshkoff
dfef55e991 Fix for CORE-968 - Assertion failure in posix/isc_ipc.cpp 2007-02-22 16:47:39 +00:00
robocop
7274dc89c1 Totally misc. 2007-02-20 08:40:38 +00:00
hvlad
c0989bce8b Fixed CORE-1031 : fb_lock_print.exe fails on windows 2003 R2 / XP SP 2
and CORE-1133 : XNET (IPC) communication protocol does not work across sessions
2007-02-19 13:05:27 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
dimitr
ba3d3c2093 A kind of cleanup. 2007-01-25 13:26:32 +00:00
dimitr
70730a1486 Resolved CORE-958. 2007-01-24 19:48:58 +00:00
dimitr
2bc42d7dba Cleanup. 2006-06-02 08:26:08 +00:00
robocop
d0b711f2bc Totally misc. 2006-04-30 06:41:38 +00:00
robocop
351674ec0c Get rid of another uppercase typedef. The name "owner" caused collisions, so "own" was left. Probably lockOwner is better in the long term. 2006-04-29 00:34:06 +00:00
dimitr
e5869b3921 Misc. 2006-04-25 07:37:19 +00:00
robocop
2f88f5765a Misc. 2006-04-08 03:29:17 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
hvlad
73dcebc962 Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h" 2006-02-03 13:13:27 +00:00
robocop
97122ee389 Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary. 2006-02-03 08:39:36 +00:00
alexpeshkoff
d1ee840d60 fixed gcc warning(s) 2006-01-16 16:49:15 +00:00
alexpeshkoff
7c6f36026f avoid overflows in UCHAR lhb_version 2005-12-18 16:08:49 +00:00