Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

blocking threads??

0 views
Skip to first unread message

Hari

unread,
Apr 5, 2007, 5:17:37 AM4/5/07
to

Hi,

Whats the alternative for Monitor.Wait() and Monitor.Pulse() in
compact framework? How do i make a thread block until another thread
wakes it up??

Thanks,
Hari

Fabien

unread,
Apr 5, 2007, 7:48:39 AM4/5/07
to
Hi,

You can use semaphore or mutex : System.Threading.Semaphore.
Check out this link :http://msdn2.microsoft.com/en-us/library/
system.threading.semaphore.aspx

BR

Fabien Decret
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/

<ctacke/>

unread,
Apr 5, 2007, 9:00:52 AM4/5/07
to
AutoResetEvent or ManualResetEvents work. A Semaphore or Mutex would work
too.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Hari" <hadus...@mantragroup.com> wrote in message
news:1175764657.1...@y66g2000hsf.googlegroups.com...

Paul Kay

unread,
Apr 5, 2007, 9:02:14 AM4/5/07
to
Isn't that class only available in the full .net framework?

Paul Kay

"Fabien" <fab_0...@msn.com> wrote in message
news:1175773719....@o5g2000hsb.googlegroups.com...

0 new messages