newlib/winsup
Corinna Vinschen 072339664d * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait.
* pthread.cc (+mangle_sem_name): New function.
	(sem_open): Ditto.
	(sem_close: Ditto.
	(sem_timedwait): Ditto.
	(sem_getvalue): Ditto.
	* thread.cc (semaphore::semaphore): Rearrange member initialization.
	Use appropriate security attribute for process shared semaphores.
	(semaphore::semaphore): New constructor for named semaphores.
	(semaphore::~semaphore): Care for semaphore name.
	(semaphore::_post): Accomodate failing ReleaseSemaphore. Use value
	returned by ReleaseSemaphore vor currentvalue.
	(semaphore::_getvalue): New method.
	(semaphore::_timedwait): Ditto.
	(semaphore::_fixup_after_fork): Rearrange. Don't fail for process
	shared semaphores.
	(semaphore::open): New method.
	(semaphore::timedwait): Ditto.
	(semaphore::post): Fix return value.  Set errno appropriately.
	(semaphore::getvalue): New method.
	* thread.h (class semaphore): Add prototypes for open, getvalue,
	timedwait, _getvalue, _timedwait.  Add prototypes for new constructor.
	Add name member.
	* include/semaphore.h: Add prototypes for sem_open, sem_close,
	sem_timedwait and sem_getvalue.
	include/cygwin/version.h: Bump API minor number.
2003-10-27 11:48:29 +00:00
..
bz2lib
cygserver Accomodate moving cygserver header files from cygwin/include/cygwin 2003-10-22 10:04:11 +00:00
cygwin * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait. 2003-10-27 11:48:29 +00:00
doc * pathnames.sgml: Remove description how to mount raw devices and 2003-09-01 12:56:01 +00:00
mingw * include/_mingw.h: Define __attribute__((x)) to nothing 2003-10-21 09:50:47 +00:00
subauth
testsuite
utils revert accidental checkin 2003-10-17 17:20:06 +00:00
w32api Oooops... 2003-10-17 10:37:44 +00:00
ChangeLog fix typo 2003-08-06 03:39:36 +00:00
configure
configure.in
CYGWIN_LICENSE
Makefile.common typo 2003-08-06 03:22:18 +00:00
Makefile.in preliminary checkin 2003-07-26 00:49:12 +00:00