diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2024-12-13 20:56:52 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2024-12-13 20:56:52 +0900 |
commit | 1f74e7e71a7c61541aebb54bba18e1c48fff1b74 (patch) | |
tree | 8337444a0c1260e9acfbdda4595f849d18eaa5e8 | |
parent | 1d1451ccd2a6c0f0146ddee68f386061b69863c0 (diff) | |
download | newlib-1f74e7e71a7c61541aebb54bba18e1c48fff1b74.zip newlib-1f74e7e71a7c61541aebb54bba18e1c48fff1b74.tar.gz newlib-1f74e7e71a7c61541aebb54bba18e1c48fff1b74.tar.bz2 |
Cygwin: signal: Fix typo in the comment added by previous commit
Fixes: 1d1451ccd2a6 ("Cygwin: signal: Fix high load when retrying to process pending signal")
Reported-by: Jon Turney <jon.turney@dronecode.org.uk>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
-rw-r--r-- | winsup/cygwin/sigproc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 861a8c6..ba7818a 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1348,8 +1348,8 @@ wait_sig (VOID *) /* GetTickCount() here is enough because GetTickCount() - t0 does not overflow until 49 days psss. Even if GetTickCount() overflows, GetTickCount() - t0 returns correct value, since underflow in - unsigned wraps correctly. Pending a signal for more thtn 49 - days would be noncense. */ + unsigned wraps correctly. Pending a signal for more than 49 + days makes no sense. */ DWORD t0 = GetTickCount (); for (;;) { |