[fpc-devel] syncobjs unit

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Nov 27 15:32:40 CET 2006


On 27 nov 2006, at 15:18, AleŇ° Katona wrote:

>> I also think this is the right way. If you specify OS specific  
>> return codes
>> per threadmanager, this will lead to unnecssary breakage.
>
> Return codes are one thing, argument another. What are we going to do
> about those? Eg: see "ExitCode" argument. It's a "dword" but int is
> expected as well.
>
> These can't be internaly abstracted like error codes.

I'd use a pointer, ptrint or ptruint in those cases. They naturally  
grow with the cpu bitsize.


Jonas


More information about the fpc-devel mailing list