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

2011-08-10 Thread Matthias Wessendorf
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 jonpr...@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
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2011-08-10 Thread Robert Jordan
On 09.08.2011 23:53, Jonathan Pryor 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].

Monitor.Pulse[All]() is not available in the Xbox/XNA profile.

Robert

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2011-08-09 Thread Jonathan Pryor
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

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list