#1 2017-06-09 10:28:05

hnb
Member
Registered: 2015-06-15
Posts: 291

TThreads problems for FPC...

Hi,

Is that possible that we have badly implemented threads in mORMot (especially for THttpApiServer.Destroy/TSynThreadPoolTHttpServer.Task)? The problem is really frustrating for me (finally mORMot is state of perfection). All which we have about problems:

https://synopse.info/forum/viewtopic.ph … 301#p24301
https://synopse.info/forum/viewtopic.php?id=3126
https://bugs.freepascal.org/view.php?id=29470
https://bugs.freepascal.org/view.php?id=31987

The problem was partially solved by this modification:
https://github.com/synopse/mORMot/blob/ … 5003-L5006

But still we have problems on shutting down TestSQL3 for FPC :\ (https://synopse.info/forum/viewtopic.ph … 301#p24301)

note: my report on FPC mantis (#31987 - https://bugs.freepascal.org/view.php?id=31987) may be improper :\.


best regards,
Maciej Izak

Offline

#2 2017-06-20 06:55:22

hnb
Member
Registered: 2015-06-15
Posts: 291

Re: TThreads problems for FPC...

AOG (thanks!) found the problem (I can confirm):

https://synopse.info/forum/viewtopic.ph … 311#p24311

we need to find another fix for:

https://synopse.info/forum/viewtopic.php?id=3126

my newest pull request:

https://github.com/synopse/mORMot/pull/42


best regards,
Maciej Izak

Offline

#3 2017-06-20 09:38:55

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: TThreads problems for FPC...

Reverted the initial fix attempt, as requested by your pull request.

Offline

Board footer

Powered by FluxBB