AW: AW: [En-Nut-Discussion] Again a thread question

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Wed Jun 9 15:06:00 CEST 2004


> As pointed out ealier, it's a good idea to use the main thread also as
worker thread after initialization code. By doing so, you would not
waste the stack memory, that is reserved for the main thread (768 bytes
I think).

Shure, I'll use it as a worker thread too... This was only a test
programm... In mye eyes the problem still exists if you do calculating
(no blocking io) in the mainthread and if you won't waste time with
useless waiting. In this case threads with lower priority won't get cpu
time at all...

Bye,

Ole

-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--






More information about the En-Nut-Discussion mailing list