Hi, http://www.embedded.com/98/9802fe.htm
At Step 2: Internal Threads. Will this step help me with solving my 'thread not reuse' problem? I know that I have 2 create a thread.h file, but (I am a newbie in this 2 questions):- (1) Where should I placed the file, thread.h? (2) I need to recompile kaffe for this new library file, how can I do that? Or is there anyone out there that have a version of kaffe which is pre-compiled with internal threads? Thank you, ;) Calvin ----- Original Message ----- From: "Timothy Stack" <[EMAIL PROTECTED]> To: "calvin kaiwen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 10:22 AM Subject: Re: [kaffe] Thread handling in Kaffe > > On Monday, February 17, 2003, at 06:37 PM, calvin kaiwen wrote: > > > Hi :) > > > > Glad you reply, here is a fraction of those code :) > > It is possible to increase the file descriptor of linux machine (yet > > to test > > out), but IF thread pool is reuse, 1024 file descriptors if more than > > enough > > :) > > Trying closing whatever files you're opening. > > The problem is "known", in that Kaffe won't run the gc/finalizer if the > process runs out of file descriptors. Therefore, any open > FileInputStreams/FileOutputStreams won't be finalized immediately so > the descriptors stay open. > > > Calvin > > tim stack > _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
