mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 19:29:09 +02:00
* Mantis ipcserver problem solved caused by the adding of locking in the rtl
(mantis 15219) git-svn-id: trunk@14415 -
This commit is contained in:
parent
94689e0be7
commit
ac1ea04d60
@ -59,10 +59,11 @@ procedure TPipeClientComm.Connect;
|
|||||||
begin
|
begin
|
||||||
If Not ServerRunning then
|
If Not ServerRunning then
|
||||||
Owner.DoError(SErrServerNotActive,[Owner.ServerID]);
|
Owner.DoError(SErrServerNotActive,[Owner.ServerID]);
|
||||||
// Use this line to allow more then one client communicating with one server
|
// Use the sharedenynone line to allow more then one client
|
||||||
// at the same time
|
// communicating with one server at the same time
|
||||||
// FStream:=TFileStream.Create(FFileName,fmOpenWrite+fmShareDenyNone);
|
// see also mantis 15219
|
||||||
FStream:=TFileStream.Create(FFileName,fmOpenWrite);
|
FStream:=TFileStream.Create(FFileName,fmOpenWrite+fmShareDenyNone);
|
||||||
|
// FStream:=TFileStream.Create(FFileName,fmOpenWrite);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TPipeClientComm.Disconnect;
|
procedure TPipeClientComm.Disconnect;
|
||||||
|
Loading…
Reference in New Issue
Block a user