diff options
author | Tim Potter <tpot@samba.org> | 2004-02-20 22:42:39 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2004-02-20 22:42:39 +0000 |
commit | 9138aa18eb66d2c54cd0736c5e25800868c274f5 (patch) | |
tree | 7e149330c285b88f0e6f6b8d603cfd27983d06f9 /source3/torture/msgtest.c | |
parent | db3d07c2f5c0764bbf55c0a11a85ae2e52dc481f (diff) | |
download | samba-9138aa18eb66d2c54cd0736c5e25800868c274f5.tar.gz samba-9138aa18eb66d2c54cd0736c5e25800868c274f5.tar.bz2 samba-9138aa18eb66d2c54cd0736c5e25800868c274f5.zip |
AIX has already has a function called msleep(). Bugzilla #1098.
(This used to be commit 90ae3667448be9b3445f401bcd9d7e3eba374215)
Diffstat (limited to 'source3/torture/msgtest.c')
-rw-r--r-- | source3/torture/msgtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/msgtest.c b/source3/torture/msgtest.c index 8abb0a20d2..c40973a75c 100644 --- a/source3/torture/msgtest.c +++ b/source3/torture/msgtest.c @@ -63,7 +63,7 @@ void pong_message(int msg_type, pid_t src, void *buf, size_t len) while (pong_count < i) { message_dispatch(); - msleep(1); + smb_msleep(1); } /* Now test that the duplicate filtering code works. */ @@ -78,7 +78,7 @@ void pong_message(int msg_type, pid_t src, void *buf, size_t len) for (i=0;i<n;i++) { message_dispatch(); - msleep(1); + smb_msleep(1); } if (pong_count != 2) { |