This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog cygserver.cc cygse ...
- To: cygwin-cvs at sources dot redhat dot com
- Subject: src/winsup/cygwin ChangeLog cygserver.cc cygse ...
- From: rbcollins at sourceware dot cygnus dot com
- Date: 4 Oct 2001 04:21:07 -0000
CVSROOT: /cvs/src
Module name: src
Branch: cygwin_daemon
Changes by: rbcollins@sources.redhat.com 2001-10-03 21:21:06
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:
Thu Oct 4 14:12:00 2001 Robert Collins <rbtcollins@hotmail.com>
* cygserver.cc (request_loop): Make static.
(main): Use new cache constructor syntax.
Start cache worker threads.
Cleanup the cache at shutdown.
* cygserver_process.cc: Run indent.
(process_cache::process_cache): Add a trigger to use when adding a process.
(process_cache::process): Move process_entry to process.
Insert at the end of the list.
Trigger the request loop when new process's inserted.
(process_cache::process_requests): Do it.
(process_cache::add): New method.
(process_cache::handle_snapshot): New method.
(process::process): Merge in the process_entry fields.
(process::handle): Make a stub function.
(process::exit_code): New method.
(process_request::process): New method.
(process_process_param::request_loop): New method.
* cygserver_shm.cc: New header dependency - threaded_queue.h.
* threaded_queue.cc (threaded_queue::cleanup): Clearer messages.
(queue_process_param::stop): Short spinlock on interruptible threads.
* threaded_queue.h (class threaded_queue): New constructor.
* include/cygwin/cygserver_process.h (process_request): New class.
(process_entry): Remove.
(process): Merge in process_entry.
(process_cache): Inherit from threaded_queue.
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.16&r2=1.915.2.17
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.7&r2=1.1.2.8
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.3&r2=1.1.2.4
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.4&r2=1.1.2.5
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.2&r2=1.1.2.3
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.2&r2=1.1.2.3
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.3&r2=1.1.2.4