This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]