Hi,

When someone forgets to use the cthreads unit and creates a thread the
exception message is:

Semaphore init failed (possibly too many concurrent threads)

Can this message be improved for unix?

Can it check if the thread manager is valid and then emit something
like

Semaphore init failed (possibly too many concurrent threads or you forgot to 
use the cthreads unit in your program)

Of course 'cthreads' is just one possible thread manager, but afaik it
is commonly used, so it would give the programmer a hint into the
right direction.


Mattias
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to