src/winsup/cygwin ChangeLog cygserver.cc cygse ...

scottc@cygwin.com scottc@cygwin.com
Fri Jun 28 05:23:00 GMT 2002


CVSROOT:	/cvs/src
Module name:	src
Branch: 	cygwin_daemon
Changes by:	scottc@sources.redhat.com	2002-06-28 05:23:29

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

Log message:
	* threaded_queue.h (class queue_request): Re-write.
	(threaded_queue_thread_function): Remove.
	(class queue_process_param): Remove.
	(class threaded_queue): Re-write.
	(class queue_submission_loop): New version of the old
	`queue_process_param' class.
	(TInterlockedExchangePointer): New templated function.
	(TInterlockedCompareExchangePointer): Ditto.
	* threaded_queue.cc (worker_function): Remove.
	(class threaded_queue): Re-write.
	(class queue_process_param): Remove.
	(class queue_submission_loop): New version of the old
	`queue_process_param' class.
	* include/cygwin/cygserver_process.h (process_cleanup): Re-write.
	(class process_process_param): Remove.
	(class cleanup_routine): Re-write.
	(class process): Re-write.
	(class process_cache): Re-write.
	* cygserver_process.cc (process_cleanup): Re-write.
	(class process_process_param): Remove.
	(class cleanup_routine): Re-write.
	(class process): Re-write.
	(class process_cache): Re-write.
	* cygserver.cc (request_count): Remove unused variable.
	(class server_request): Move methods inline.
	(class server_process_param): Remove.
	(class server_request_queue): Remove.
	(request_queue): Move into `main ()' and change type to
	`threaded_queue'.
	(request_loop): Remove.
	(class server_submission_loop): New version of the old
	`server_process_param' class.
	(shutdown_server): New variable.
	(client_request_shutdown::serve): Set `shutdown_server' to trigger
	shutdown.
	(handle_signal): Ditto.
	(main): Install signal handler for SIGINT rather than SIGQUIT.
	Use new interfaces for the `request_queue' and the `cache'.
	Create a `server_submission_loop' and add to the `request_queue'.
	Add check for the `shutdown_server' variable to the main loop.
	* cygserver_shm.cc (client_request_shm::serve): Release the
	process object after use.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.915.2.58&r2=1.915.2.59
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.23&r2=1.1.2.24
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.11&r2=1.1.2.12
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.15&r2=1.1.2.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/threaded_queue.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.7&r2=1.1.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/threaded_queue.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.5&r2=1.1.2.6
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.10&r2=1.1.2.11



More information about the Cygwin-cvs mailing list