Sweet! I will take a look this weekend for sure. Also be on the lookout
for a roadmap style document/todo once I have written all this class
stuff up ;-)
Nate
David Wolff wrote:
>
> Hey folks,
>
> Well, this threading stuff is just too much fun!! I've added
> a small project to cvs (on shemp) called thread-test.
> Check it out and read through it. Basically it just creates
> ten threads that do busy work (an empty loop) and then quits.
>
> I have created a thread superclass called SnfsThread. We should
> be able to inherit from it whenever we want "thread-like"
> behavior.
>
> Note, before you run it you may want to change the number of
> iterations in the busy loop (in TestThread.cpp) because I
> had to make it fairly large for my 2GHz machine.
>
> It works on Linux and Solaris, but on Solaris the threads do
> not do any timesharing so we'll have to do some tuning.
>
> Hopefully, Nate, you can add some network stuff to get these
> threads to model the server setup.
>
> Let me know what you think!
>
> dw
>
|