diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 1999-08-19 16:49:53 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 1999-08-19 16:49:53 +0000 |
| commit | c81c6baf1d40e0586fffff5c76d913b7e1653653 (patch) | |
| tree | 26b106d1ac62293d8d7057ad2b16a6dd05f603bc /lib | |
| parent | 42cef09ba221d75569f2b95dd6baa1112c46a5b9 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc_r/uthread/uthread_kern.c | 6 | ||||
| -rw-r--r-- | lib/libkse/thread/thr_kern.c | 6 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_kern.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc_r/uthread/uthread_kern.c b/lib/libc_r/uthread/uthread_kern.c index e30267b5a724..c0e4a5de212c 100644 --- a/lib/libc_r/uthread/uthread_kern.c +++ b/lib/libc_r/uthread/uthread_kern.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_kern.c,v 1.19 1999/06/20 08:28:31 jb Exp $ + * $Id: uthread_kern.c,v 1.20 1999/08/12 19:34:39 deischen Exp $ * */ #include <errno.h> @@ -458,7 +458,7 @@ __asm__("fnsave %0": :"m"(*fdata)); /* * Check for underflow of the nanosecond field: */ - if (ts1.tv_nsec < 0) { + while (ts1.tv_nsec < 0) { /* * Allow for the underflow of the * nanosecond field: @@ -469,7 +469,7 @@ __asm__("fnsave %0": :"m"(*fdata)); /* * Check for overflow of the nanosecond field: */ - if (ts1.tv_nsec >= 1000000000) { + while (ts1.tv_nsec >= 1000000000) { /* * Allow for the overflow of the * nanosecond field: diff --git a/lib/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c index e30267b5a724..c0e4a5de212c 100644 --- a/lib/libkse/thread/thr_kern.c +++ b/lib/libkse/thread/thr_kern.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_kern.c,v 1.19 1999/06/20 08:28:31 jb Exp $ + * $Id: uthread_kern.c,v 1.20 1999/08/12 19:34:39 deischen Exp $ * */ #include <errno.h> @@ -458,7 +458,7 @@ __asm__("fnsave %0": :"m"(*fdata)); /* * Check for underflow of the nanosecond field: */ - if (ts1.tv_nsec < 0) { + while (ts1.tv_nsec < 0) { /* * Allow for the underflow of the * nanosecond field: @@ -469,7 +469,7 @@ __asm__("fnsave %0": :"m"(*fdata)); /* * Check for overflow of the nanosecond field: */ - if (ts1.tv_nsec >= 1000000000) { + while (ts1.tv_nsec >= 1000000000) { /* * Allow for the overflow of the * nanosecond field: diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index e30267b5a724..c0e4a5de212c 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_kern.c,v 1.19 1999/06/20 08:28:31 jb Exp $ + * $Id: uthread_kern.c,v 1.20 1999/08/12 19:34:39 deischen Exp $ * */ #include <errno.h> @@ -458,7 +458,7 @@ __asm__("fnsave %0": :"m"(*fdata)); /* * Check for underflow of the nanosecond field: */ - if (ts1.tv_nsec < 0) { + while (ts1.tv_nsec < 0) { /* * Allow for the underflow of the * nanosecond field: @@ -469,7 +469,7 @@ __asm__("fnsave %0": :"m"(*fdata)); /* * Check for overflow of the nanosecond field: */ - if (ts1.tv_nsec >= 1000000000) { + while (ts1.tv_nsec >= 1000000000) { /* * Allow for the overflow of the * nanosecond field: |
