8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 20:43:03 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
alexpeshkoff
4980e64420 Fix CORE-988
class Semaphore now can work with broken versions of glibc (sem_timedwait())
2006-11-12 13:58:13 +00:00
asfernandes
a597dc2263 Correction for posix build 2006-04-16 22:01:41 +00:00
kkuznetsov
1dcef0d3af Solaris error correction 2006-04-16 19:54:26 +00:00
robocop
86f990dd92 Misc. 2006-04-13 03:59:58 +00:00
kkuznetsov
2f1d73b0e2 Correct messages from Semaphore exceptions 2006-04-12 11:54:44 +00:00
kkuznetsov
6b86285492 Rewiev semaphore on Solaris platform:
add some fixes and loop on EINTR
2006-04-12 09:25:56 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
alexpeshkoff
ca70704563 fixed gcc warning(s) 2006-01-16 15:39:55 +00:00
alexpeshkoff
35d800e0be Retry when system call is interrupted 2005-10-28 15:25:15 +00:00
kkuznetsov
b4b0b9d683 Comment correction thanks to Claudio 2005-08-19 06:04:10 +00:00
kkuznetsov
ef47186fab Some comments added 2005-08-18 09:33:25 +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
d6535351a2 Misc: style. 2004-11-24 09:22:07 +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
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
kkuznetsov
44242a72ce Fixed a couple of compile errors on Solaris x86 2004-05-24 11:23:41 +00:00
robocop
1953841ae4 Without being able to compile it, I fixed the new SOLARIS code in semaphore.h that:
- didn't have any rational indentation but random positions and a combination of blanks and tabs
- instead of testing errno, assigned a value to it (= instead of ==)
- has some strange emoty if(); only put a comment here.
People shouldn't post code to CVS without at least reviewing visually what they wrote.
2004-05-23 06:07:46 +00:00
kkuznetsov
e2f56c62e3 Added semaphore implementation used conditional varyable and mutex, becouse of no sem_timedwait existans.
Ugly, errorable and untested.
2004-05-21 14:14:34 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
skidder
e8a3fd7ed1 Fix a couple errors I introduced in previous commit. Spotted by Claudio 2004-03-11 05:30:07 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +00:00
brodsom
7acc0cf5bd Write fatal error messages into firebird.log 2003-10-30 10:59:32 +00:00
skidder
bb1322a582 Correction 2003-09-16 21:45:47 +00:00
skidder
7873287ef3 Implement Firebird::Semaphore class for Windows and POSIX.
Those platforms which do not have POSIX semaphores (Solaris ?) may need to
implement this class using BSD or SYSV stuff.
2003-09-16 20:45:31 +00:00