Re: [fpc-devel] improving error message when forgot to use cthreads unit

2012-04-29 Thread Mattias Gaertner
On Sat, 28 Apr 2012 11:11:08 +0200 Mattias Gaertner wrote: > On Sat, 28 Apr 2012 10:52:08 +0200 (CEST) > Michael Van Canneyt wrote: > > > > > > > On Sat, 28 Apr 2012, Mattias Gaertner wrote: > > > > > Hi, > > > > > > When someone forgets to use the cthreads unit and creates a thread the > >

Re: [fpc-devel] improving error message when forgot to use cthreads unit

2012-04-28 Thread Mattias Gaertner
On Sat, 28 Apr 2012 10:52:08 +0200 (CEST) Michael Van Canneyt wrote: > > > On Sat, 28 Apr 2012, Mattias Gaertner wrote: > > > Hi, > > > > When someone forgets to use the cthreads unit and creates a thread the > > exception message is: > > > > Semaphore init failed (possibly too many concurrent

Re: [fpc-devel] improving error message when forgot to use cthreads unit

2012-04-28 Thread Michael Van Canneyt
On Sat, 28 Apr 2012, Mattias Gaertner wrote: 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

[fpc-devel] improving error message when forgot to use cthreads unit

2012-04-28 Thread Mattias Gaertner
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 (p