[Mono-list] kerne32 CreateSemaphore

Robert Jordan robertj at gmx.net
Tue Jan 13 15:08:18 EST 2009


rg1 wrote:
> 
> On Linux, I am getting an EntryPointNotFoundException trying to call the
> CreateSemaphore function that is part of kernel32.dll. (On Windows,
> naturally all works fine)
> 
> 
> Does anyone know of a way around this on Linux without a tremendous amount
> of re-writing a bunch of my code.

I wonder why do you need kernel32.CreateSemaphore in the first place.
Do you have to stick with .NET 1.1?

.NET 2.0 has introduced the System.Threading.Semaphore class.

Robert



More information about the Mono-list mailing list