Thread.Synchronize() in WINCE don't wait for a method to be executed and a Critical Section don't work too
Original Reporter info from Mantis: mc2011
-
Reporter name: Miguel Castellano
Original Reporter info from Mantis: mc2011
- Reporter name: Miguel Castellano
Description:
I was encountered the Thread.Synchronize() don't work well in WINCE and Critical Section dont't work too in this platform. Please check this!
Steps to reproduce:
I included a famous example of delphi of "multithread sort values" and it be compiled and executed without problems in WIN32 but when you compile for WINCE the synchronization don't work any more.
In the same context if you compile the included lazarus example "criticalsectionexample1.lpi" for WINCE and if you click
"Count with critical section" is the same as if you click "Count without critical section"
Additional information:
FPC 2.4.2
Mantis conversion info:
- Mantis ID: 18756
- OS: WINCE
- OS Build: WINCE 6.0
- Platform: ARM
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 32421 (#50432f64)