simpleipc example not work in thread mode
Original Reporter info from Mantis: Bulba
-
Reporter name: Sergey Bulba
Original Reporter info from Mantis: Bulba
- Reporter name: Sergey Bulba
Description:
In lazarus\fpc\3.0.4\source\packages\fcl-process\examples
if running ipc server in threaded mode
ipcserver.exe -t
and then run ipcclient.exe and client's SendStringMessage calling is not returning until breaking server or client by Ctrl-C in command line.
Steps to reproduce:
Just compile lazarus\fpc\3.0.4\source\packages\fcl-process\examples\ipcclient.pp and lazarus\fpc\3.0.4\source\packages\fcl-process\examples\ipcserver.pp and run as described above.
Additional information:
My old app for FPC 3.0.0 after recompiling in 3.0.4 is not raising ipcserver.onmessage (in 3.0.0 no threaded/non-threaded ipcserver switch yet), so I decided to test FPC 3.0.4 with native examples and found this bug.
Mantis conversion info:
- Mantis ID: 33130
- OS: Windows
- OS Build: 7 32-bit
- Build: Lazarus 1.8.0
- Platform: PC
- Version: 3.0.4
- Monitored by: » dezlov (Denis Kozlov)