This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog cygserver.cc cygse ...
- From: scottc at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 30 Jun 2002 21:01:49 -0000
- Subject: src/winsup/cygwin ChangeLog cygserver.cc cygse ...
CVSROOT: /cvs/src
Module name: src
Branch: cygwin_daemon
Changes by: scottc@sources.redhat.com 2002-06-30 14:01:49
Modified files:
winsup/cygwin : ChangeLog cygserver.cc cygserver_client.cc
cygserver_process.cc cygserver_shm.cc
cygserver_transport.cc
cygserver_transport_pipes.cc
cygserver_transport_sockets.cc
threaded_queue.cc woutsup.h
Log message:
* woutsup.h: Remove all uses of the C++ new and delete operators
throughout cygserver until they are fully thread-safe.
(safe_new0): New macro to replace the C++ new operator.
(safe_new): Ditto.
(safe_delete): New macro to replace the C++ delete operator.
* cygserver_client.cc (client_request::handle_request): Replace
all uses of the C++ new and delete operators with the new macros
from "woutsup.h".
(client_request::make_request): Ditto.
* cygserver_process.cc (~process_cleanup): Ditto.
(process::cleanup): Ditto.
(process_cache::process): Ditto.
(process_cache::check_and_remove_process): Ditto.
* cygserver_shm.cc (server_shmmgr::new_segment): Ditto.
(server_shmmgr::delete_segment): Ditto.
* cygserver_transport.cc (create_server_transport): Ditto.
* cygserver_transport_pipes.cc
(transport_layer_pipes::accept): Ditto.
* cygserver_transport_sockets.cc
(transport_layer_sockets::accept): Ditto.
* threaded_queue.cc (~threaded_queue): Ditto.
(threaded_queue::worker_loop): Ditto.
(threaded_queue::stop): Replace sleep(3) with win32 Sleep.
* cygserver.cc (~server_request): Replace all uses of the C++ new
and delete operators with the new macros from "woutsup.h".
(server_submission_loop::request_loop): Ditto.
(main): Ditto. Replace sleep(3) with win32 Sleep. Replace
iostreams with FILEs.
(print_usage): Replace iostreams with FILEs.
(print_version): Ditto.
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.66&r2=1.915.2.67
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.24&r2=1.1.2.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_client.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.17&r2=1.1.2.18
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.13&r2=1.1.2.14
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.17&r2=1.1.2.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_transport.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.8&r2=1.1.2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_transport_pipes.cc.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_transport_sockets.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.9&r2=1.1.2.10
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.8&r2=1.1.2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/woutsup.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.3&r2=1.1.2.4