[VM][Win32] Can plugin DLL use synchronizedSignalSemaphoreWithIndex()?
David T. Lewis
lewis at mail.msen.com
Sun Aug 25 15:53:31 UTC 2002
On Sun, Aug 25, 2002 at 05:16:43PM +0200, Andreas Raab wrote:
> I think you don't need this any longer. A while ago John fixed various
> of the issues due to external synchronization in the VM and the Win32
> code predates these changes. If I'm not mistaken, there is no problem
> with just using "signalSemaphoreWithIndex".
Good, thanks. I'll just call signalSemaphoreWithIndex directly.
As a general rule, is it permissible to call signalSemaphoreWithIndex
from a Win32 thread other than the one in which the interpreter is
running? I think it should be OK as long as I take care not to allow
two or more of my Win32 threads to be executing signalSemaphoreWithIndex
at the same time, but I don't have any experience programming threads
on any platform, so I'm more or less fumbling my way through this.
More information about the Squeak-dev