Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-24 09:37:47 +0400
committerChristopher Faylor <me@cgf.cx>2002-07-24 09:37:47 +0400
commit99138976d9f0e9f94e9920af5e61ace9fd5554df (patch)
tree317a5dc50db8febc6e0cc603627c58f669b3c423 /winsup/cygwin/exceptions.cc
parent63a93e9dd606b8760bf9bb26320978629c8f45a1 (diff)
* path.cc (path_conv::check): Always set fileattr when component == 0.
(readlink): Use path_conv method rather than field. * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto, throughout. * path.h (path_conv): Make fileattr private. * exceptions.cc (try_to_debug): Default to idle priority when looping.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 764ae5a84..f907b21a4 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -391,9 +391,9 @@ try_to_debug (bool waitloop)
system_printf ("Failed to start debugger: %E");
else
{
+ SetThreadPriority (hMainThread, THREAD_PRIORITY_IDLE);
if (!waitloop)
return 1;
- SetThreadPriority (hMainThread, THREAD_PRIORITY_IDLE);
while (!being_debugged ())
/* spin */;
Sleep (4000);