* sync.cc: Fix comment.

* dll_init.cc (dll_list::reserve_space): Use %p rather than %lx to show
reserved space.
This commit is contained in:
Christopher Faylor 2011-11-29 17:26:57 +00:00
parent 480b13a37a
commit 6a28849237
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2011-11-29 Christopher Faylor <me.cygwin2011@cgf.cx>
* sync.cc: Fix comment.
2011-11-29 Christopher Faylor <me.cygwin2011@cgf.cx>
* dll_init.cc (dll_list::reserve_space): Use %p rather than %lx to show
reserved space.
2011-11-29 Christopher Faylor <me.cygwin2011@cgf.cx>
* sigproc.cc (remove_proc): Don't terminate the currently executing

View File

@ -427,7 +427,7 @@ dll_list::reserve_space ()
{
for (dll* d = dlls.istart (DLL_LOAD); d; d = dlls.inext ())
if (!VirtualAlloc (d->handle, d->image_size, MEM_RESERVE, PAGE_NOACCESS))
fabort ("address space needed by '%W' (%08lx) is already occupied",
fabort ("address space needed by '%W' (%p) is already occupied",
d->modname, d->handle);
}

View File

@ -69,8 +69,7 @@ muto::~muto ()
Note: The goal here is to minimize, as much as possible, calls to the
OS. Hence the use of InterlockedIncrement, etc., rather than (much) more
expensive OS mutexes. Also note that the only two valid "ms" times are
0 and INFINITE. */
expensive OS mutexes. */
int
muto::acquire (DWORD ms)
{