[Mono-list] Monitor: Pluse() and Wait() - alternative ?

Matthias Wessendorf matzew at apache.org
Wed Aug 10 02:41:16 EDT 2011


Hi Jonathan,

see here:
http://msdn.microsoft.com/en-us/library/de0542zz%28v=VS.100%29.aspx
(note that Portable Class Library supports Enter())

and here:
http://msdn.microsoft.com/en-us/library/system.threading.monitor.pulse%28v=VS.100%29.aspx
(not supported in PCL)

Yes, it's kinda odd - and PCL does remind me of J2ME :)

-Matthias


On Tue, Aug 9, 2011 at 11:53 PM, Jonathan Pryor <jonpryor at vt.edu> wrote:
> On Aug 9, 2011, at 9:34 AM, mwessendorf wrote:
>> However.... I need to ensure this runs on the PCL (Portable Class Library)
>> and therefore the above implementation does not work, since Pluse() / Wait()
>> aren't supported in PCL....
>
> Where can I find a listing of the types and members in the PCL? I find it rather odd that Monitor.Pulse() isn't in there, given that it's in Silverlight 3, 4, WP7, Xbox 360, and every version of .NET ever released [0, 1].
>
>  - Jon
>
> [0] http://msdn.microsoft.com/en-us/library/system.threading.monitor(VS.95).aspx
> [1] http://msdn.microsoft.com/en-us/library/system.threading.monitor.pulse.aspx
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


More information about the Mono-list mailing list