src/winsup/cygwin include/cygwin/cygserver_pro ...

scottc@cygwin.com scottc@cygwin.com
Sat Jul 27 16:01:00 GMT 2002


CVSROOT:	/cvs/src
Module name:	src
Branch: 	cygwin_daemon
Changes by:	scottc@sources.redhat.com	2002-07-27 16:01:02

Modified files:
	winsup/cygwin/include/cygwin: cygserver_process.h 
	winsup/cygwin  : cygserver_process.cc cygserver_shm.cc ChangeLog 

Log message:
	* include/cygwin/cygserver_process.h
	(cleanup_routine::_key): New field.
	(cleanup_routine::cleanup_routine): Initialise new field with new
	argument.
	(cleanup_routine::operator==): New method.
	(cleanup_routine::cleanup): Make argument non-const.
	(process::is_active): New method.
	(process::remove): Ditto.
	(process::check_exit_code): Rename method.
	* cygserver_process.cc (process::add): Reorganize code.
	(process::remove): New method.
	(process::check_exit_code): Rename method.
	(process::cleanup): Use new `process::is_active' method.
	(process_cache::process): Ditto.
	(process_cache::sync_wait_array): Ditto.
	(process_cache::check_and_remove_process): Ditto.
	* cygserver_shm.cc (server_shmmgr): Make `cleanup_t' a friend.
	(segment_t::detach): Make argument non-const.  Remove cleanup
	object from client if appropriate.
	(cleanup_t::_segptr): Remove field.
	(cleanup_t::cleanup_t): Initialise parent explicitly.  Remove
	field.
	(cleanup_t::segptr): New method.
	(cleanup_t::cleanup): Add error checking and reporting.
	(server_shmmgr::shmdt): Make argument non-const.
	(server_shmmgr::find): New method.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/cygserver_process.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.13&r2=1.1.2.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_process.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.16&r2=1.1.2.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_shm.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.28&r2=1.1.2.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.915.2.104&r2=1.915.2.105



More information about the Cygwin-cvs mailing list