This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
thread unique id wrapping around
- From: Quanren Xiong <xiongqr at gmail dot com>
- To: eCos Discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 27 Mar 2012 09:12:26 -0400
- Subject: [ECOS] thread unique id wrapping around
Hi,
We are running a web server on our ECOS plaform. It spawns a thread
each time a web request comes in.
We found that afte a while the thread unique id would wrap around.
An id that is being used by a running thread would be re-used.
Our thread monitor which keeps track of running thread by their ids
would assert because it sees duplicate ids.
Anyone have any suggestions or solutions. Thank you very much.
Regards,
Q Xiong
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss