[fpc-devel] syncobjs unit

AleŇ° Katona almindor at gmail.com
Mon Nov 27 12:50:29 CET 2006

One solution is basicly to use a TThreadID kind of thing for all
arguments and return types. The problems with this are:

1. if one OS has multiple threading backends with multiple types, what
then? (ifdef isn't enough here)

2. who is going to check all platforms all usages of ThreadManager and
fix them? Who is going to test this.

Another solution is to use one "big-enough" type. But one day big-enough
isn't going to be big enough and it still has problem #2.

In any case it's going to hurt.

More information about the fpc-devel mailing list