Re: Bug in log.c

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Michael Mulcahy wrote:
> 
> Hi Stipe,
> 
> There does not need to be more 1024 concurrent threads to
> reproduce this problem. The problem is associated with
> the internal thread number assigned to each thread. the
> log output displays this number in brackets.
> 
> The new logging of threads to a different log file
> expects this number to be between 0 and 1024 which
> may not be the case.
> 
> The thread implementation contains an integer value that
> is assigned to a new thread and is then incremented.
> 
> If you create a thread and destroy it many times then the
> number can get larger than 1024.

ok, got it now. It's an incremental counter.

> Hope that helps explain it a bit better,

definetly did! thanks a lot.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.