latest changes from main rep

This commit is contained in:
Guenter Obiltschnig
2007-05-05 13:15:55 +00:00
parent ed4789b844
commit be44df77fd
49 changed files with 214 additions and 100 deletions

View File

@@ -1,7 +1,7 @@
//
// Semaphore_WIN32.cpp
//
// $Id: //poco/Main/Foundation/src/Semaphore_WIN32.cpp#11 $
// $Id: //poco/Main/Foundation/src/Semaphore_WIN32.cpp#12 $
//
// Library: Foundation
// Package: Threading
@@ -44,7 +44,7 @@ SemaphoreImpl::SemaphoreImpl(int n, int max)
{
poco_assert (n >= 0 && max > 0 && n <= max);
_sema = CreateSemaphore(NULL, n, max, NULL);
_sema = CreateSemaphoreW(NULL, n, max, NULL);
if (!_sema)
{
throw SystemException("cannot create semaphore");