G
Guest
Hi,
I just tried to convert my current project to the new beta 2 of the .net
framework and I encountered some problems with my thread synchronization -
that formerly worked well.
When I release a monitor by System.Threading.Monitor(myvar) I receive the
following error message:
System.Threading.SynchronizationLockException: Object synchronization method
was called from an unsynchronized block of code.
Of course I acquired the Monitor some lines above by
System.Threading.Monitor.Enter(myvar).
can anyone help?
Thanks
Peter
I just tried to convert my current project to the new beta 2 of the .net
framework and I encountered some problems with my thread synchronization -
that formerly worked well.
When I release a monitor by System.Threading.Monitor(myvar) I receive the
following error message:
System.Threading.SynchronizationLockException: Object synchronization method
was called from an unsynchronized block of code.
Of course I acquired the Monitor some lines above by
System.Threading.Monitor.Enter(myvar).
can anyone help?
Thanks
Peter