newlib/winsup
Corinna Vinschen 8fbd574ef0 * cygwin.din (sem_unlink): Export.
* posix_ipc.cc: Include thread.h and semaphore.h.  Remove TODO
	comment.
	(ipc_names): Add max_len member.  Set to maximum length of the path
	before tacking on the prefix path.  Set prefix path for named semaphors
	to /dev/shm, as on Linux.
	(enum ipc_type_t): Change sem to semaphore to avoid name conflicts.
	(check_path): Detect empty paths.  Use ipc_names's max_len member.
	Use __small_sprintf to create full object path name.  Special case
	semaphores.
	(ipc_cond_init): Drop superfluous strcpy.
	(class ipc_flock): New class to simplify file locking in subsequent
	code.
	(struct mq_hdr): Raise size of mqh_uname to allow adding a unique
	LUID to the name.
	(mq_open): Fix formatting.  Create unique synchronization object names
	using AllocateLocallyUniqueId.
	(struct sem_finfo): New structure defining named semaphore file content.
	(sem_open): Move here.  Rework implementation to allow kernel
	persistent implementation of POSIX named semaphores.
	(_sem_close): Implement sem_close.
	(sem_close): Move here.  Just call _sem_close with do_close parameter
	set to true.
	(sem_unlink): New function.
	* pthread.cc (mangle_sem_name): Remove.
	(sem_open): Move to posix_ipc.cc.
	(sem_close): Ditto.
	* syscalls.cc (close_all_files): Call semaphore::terminate here.
	* thread.cc: Fix formatting.  Rearrange semaphore functions so that
	they are close together.
	(semaphore::semaphore): Rework to play nicely with new named semaphore
	implementation.
	(semaphore::_terminate): Call _sem_close if semaphore is a named
	semaphore.
	(semaphore::destroy): Don't destroy named semaphores.  Return EINVAL
	instead.
	(semaphore::close): Only destroy named semaphores.  Return EINVAL
	otherwise.
	(semaphore::open): Rework to play nicely with new named semaphore
	implementation.  Loop through existing semaphores to be able to
	return same sem_t pointer as a former call on the same named semaphore.
	(semaphore::getinternal): New function called from _sem_close.
	* thread.h (class List): Make mx and head public.
	(class semaphore): Fix formatting.  Align method declarations with
	implementation in thread.cc.  Add members used for named semaphores.
	(semaphore::terminate): New static method.
	* include/semaphore.h: Redefine SEM_FAILED.  Fix formatting.
	(sem_unlink): Add declaration.
	* include/cygwin/version.h: Bump API minor number.
2007-02-20 15:48:04 +00:00
..
cygserver
cygwin * cygwin.din (sem_unlink): Export. 2007-02-20 15:48:04 +00:00
doc * cygwinenv.sgml: Drop description of "traverse" option. 2006-12-12 18:48:35 +00:00
lsaauth Initial release of the Cygwin LSA authentication package. 2006-11-27 13:05:54 +00:00
mingw 2007-02-18 Aurimas Cernius <aurisc4@gmail.com> 2007-02-18 09:46:48 +00:00
testsuite
utils * cygpath.cc (usage): Add -O and -F, remove tabs. 2007-01-09 12:17:05 +00:00
w32api Correct spelling of submitter's name in ChangeLog. 2007-02-18 09:57:51 +00:00
acinclude.m4
aclocal.m4 * Makefile.in: Make installation of CYGWIN_LICENSE configurable. 2006-08-30 13:05:46 +00:00
ChangeLog * Makefile.in (subauth): Drop rule. 2006-12-12 20:26:27 +00:00
configure * Makefile.in (subauth): Drop rule. 2006-12-12 20:26:27 +00:00
configure.in * Makefile.in (subauth): Drop rule. 2006-12-12 20:26:27 +00:00
COPYING
CYGWIN_LICENSE
Makefile.common
Makefile.in * Makefile.in (subauth): Drop rule. 2006-12-12 20:26:27 +00:00
README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin