Rtti.pp unit is not thread safe
Original Reporter info from Mantis: imants_gulbis
-
Reporter name: Imants Gulbis
Original Reporter info from Mantis: imants_gulbis
- Reporter name: Imants Gulbis
Description:
I attached patch for fixing some problems with using rtti unit in multiple threads.
Specially I got problems with GetParameters, GetDeclaredMethods and GetProperties methods they time to time raised 'A RTTI object with handle 0x%x is already registered' error and sometimes it created more than one TPoolToken for same context which caused problems with GRttiPool
Mantis conversion info:
- Mantis ID: 37302
- Version: 3.3.1