About

I am a software developer in Seattle, building a new AI software company.

Ads

August 2009

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

Ads


« A Nation of Entrepreneurs | Main | Hobbyist Programmers »

April 14, 2005

Comments

Matt

Are the ReaderWriterLock issues documented anywhere on the web? Where can I find more details of SoaReaderWriterLock>

Wesner Moise

You'll have an opportunity to learn more about when Richter releases his PowerThreading library. At that time, I'll mention it on my blog.

Sean McLeod

Is the Jeffrey's talk available in electronic form, slides, audio recording etc.?

Wesner Moise

Wintellect does not allow slides of talks to be displayed, but Richter may produce a PDF file. You would simply need to check the Wintellect site for more information.

Another thing I wanted to note is that Richter was asked to write a Concurrency column in MSDN. He might do it, but most likely not because he has limited time.

Robert Hurlbut

Thanks for this link. Concurrency and .NET is a topic I am very interested in and I hope to put some of my own research and others like this into articles and/or book.

Daniel Moth

Blog link of the week 15

Anonymous

"He applied for a patent and sold the idea to Microsoft under the condition that the technique can still be freely used for Windows application but not other platforms like Linux." -- god. what a schmuck.

zzz

So which is it? Jeff went for patent or someone at MS came up with the patent idea?

netda: "Jeff co-invented this lock and sold the idea to Microsoft, which is patenting it."

wes: "He applied for a patent and sold the idea to Microsoft. Richter urged Microsoft to relax restrictions to the use of the lock. Microsoft agreed to allow the technique to developers of Windows application but not other platforms like Linux."

anonymous: "He applied for a patent and sold the idea to Microsoft under the condition that the technique can still be freely used for Windows application but not other platforms like Linux."

And now for the obvious question.. Is it really too late to fix atleast some of the issues - why wait for Orcas??

Wesner Moise

ZZZ, only individual inventors can patent inventions, not corporations. Individuals can however assign patents to someone else.

Jeffrey Richter

I am the inventor of the lock. The patent has been assigned to Microsoft. Microsoft paid me to assign to them the rights. Microsoft has placed the restriction on it that it can only be used on Microsoft platforms including Windows and .NET Fx.

Chui Tey

Just from the description alone, it doesn't sound like a lock at all. I must be missing something.

identy

Jeffrey Richter, The patent has been assigned to Microsoft. Microsoft paid me to assign to them the rights.... EGO?

Wesner Moise

It is a lock, but you need to change the style of writing.

Instead of writing a traditional lock block...

lock(obj)
{
// code inside lock
}
// code after lock

you write somthing like,

myLock.AcquireWriterLock(delegate(LockContext context)
{
// code inside lock here
context.ReleaseLock();
// my code after lock
});

The lock automatically gets released at the end of the call if you forget to release it. In a non-threaded environment, the delegate is immediately called; otherwise, the delegate is called immediately after the currently executed delegate is finished.

Wesner Moise

One possibly erroneous remark he made was that it was not possible to have an atomic long operation in a 32–bit machine. See A practical multi-word compare and swap operation

Timbo

Sounds like Continuation Passing Style (here's an explaination: http://www.sidhe.org/~dan/blog/archives/000185.html)
used in the Scheme language. It's also used a lot in Haskell for IO (Monads).

But I don't understand why this would make concurrent programming any easier. Or is it about making it faster, not easier? Or is it just another tool in the toolbox?

Stephan Eggermont

Well, it's an American software patent, so nobody knows if it's new and innovative...

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment