dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]i want to finish the threading (ya, i know)


From: Rhys Weatherley
Subject: Re: [DotGNU]i want to finish the threading (ya, i know)
Date: Tue, 10 Jun 2003 17:54:22 +1000
User-agent: KMail/1.4.3

On Tuesday 10 June 2003 05:17 pm, Ian Fung wrote:
> Rhys and Dotgnuers,
>
> I have decided that I want to try to finish the threading in DotGNU. I
> had heard that it is 85% done and only the internal calls are left.

That's pretty much right.  The main code that needs doing is in 
"pnet/engine/lib_thread.c".  Grep for TODO.  You might want to use a simple 
monitor table, a la Java 1.0, on the first pass because adding a monitor 
field to all objects will require a bit more work.

The actual threading layer is in "pnet/support".  Have a read of 
"pnet/support/README.threads" to get started.  There is a "test_thread" 
program that tests the support routines, but not the engine routines.

Once the "lib_thread.c" stuff is done, it will be necessary to go through and 
find all the structures that now need locking.  Metadata is the big one, and 
there are macros in "pnet/engine/engine.h" for handling metadata locking.

Have fun!

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]