]> sourceware.org Git - newlib-cygwin.git/commit
* shared_info.h (open_shared): Create function wrapper for common use case.
authorChristopher Faylor <me@cgf.cx>
Tue, 9 Mar 2010 21:26:55 +0000 (21:26 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 9 Mar 2010 21:26:55 +0000 (21:26 +0000)
commitbd3b3783f8d2b80eef694324c6d0c143613b05be
tree396c57c32ce8e1ad1cbedb9e9e4e467410cd2295
parentfab7d5988a0518e7c33a69799676453385c876f5
* shared_info.h (open_shared): Create function wrapper for common use case.
(open_shared): Change fifth argument to a pointer rather than a reference.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Eliminate use of dummy
variable and call open_shared with constant.
* fhandler_process.cc (format_process_mounts): Ditto.
* pinfo.cc (pinfo::init): Pass pointer to shloc.
* shared.cc (shared_mem_inited): New variable.
(open_shared): Crate function wrapper for common use case.
(open_shared): Accommodate change to fifth argument to a pointer.
(shared_info::initialize): Remove spinlock test.  Simplify function.  Move
get_session_parent_dir call back here.
(memory_init): Protect global shared settings with shared_mem_inited spinlock.
Move get_session_parent_dir call to shared_info::initialize.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_console.cc
winsup/cygwin/fhandler_process.cc
winsup/cygwin/pinfo.cc
winsup/cygwin/shared.cc
winsup/cygwin/shared_info.h
This page took 0.029302 seconds and 5 git commands to generate.