Alex Rivera | Logout

C# equivalent to java's wait and notify?

Asked 2008-10-16T16:16:55.700
64

I am aware that you can lock an object in c# using lock but can you give up the lock and wait for something else to notify you that it's changed like you can in java with wait and notify?

It seems to me that synchronised and lock in java and c# respectively are synonomous.

Edit
Report

1 Answer

0

I think Wait Handles may work for you. See if this helps.

answered 2008-10-16T16:19:09.190

Your Answer