Displaying 7 results from an estimated 7 matches for "usecond".
Did you mean:
second
2001 Feb 13
4
issue with EGD in openssh
...MAGE.
*/
#include "includes.h"
#ifndef HAVE_USLEEP
#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] = "$OpenBSD: usleep.c,v 1.7 1998/02/08 22:44:09 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
/* XXX - if no nanosleep() just use select */
int
usleep(useconds)
unsigned int useconds;
{
struct timespec rqt;
if (useconds == 0)
return(0);
rqt.tv_sec = useconds / 1000000;
rqt.tv_nsec = (useconds % 1000000) * 1000;
return(nanosleep(&rqt, NULL));
}
#endif /* !HAVE_USLEEP */
--- sshd.c.DIST Mon Feb 12 07:38:08 2001
+++ sshd.c Mon Feb 12 07:36:...
2013 Jun 24
3
[PATCH v2] xen-netback: add a pseudo pps rate limit
...tch provides a new option to limit VMs maximum packets per second
emission rate.
It follows the same credits logic used for throughput shaping. For the
moment we have considered each "txreq" as a packet.
PPS limits is passed to VIF at connection time via xenstore.
PPS credit uses the same usecond period used by rate shaping check.
known limitations:
- by using the same usecond period, PPS shaping depends on throughput
shaping.
- it is not always true that a "txreq" correspond to a paquet
(fragmentation cases) but as this shaping is meant to avoid DDOS
(small paquets) such a...
2018 Dec 20
2
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...attach 11833
cont
# Send an e-mail from swaks to exim that use transport=smtp in LMTP mode to dovecot-lmtp, press interrupt while exim is blocking after RCPT TO:
(gdb) bt
#0 0x00007f81528af270 in __nanosleep_nocancel () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f81528d8b84 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
#2 0x00007f815329368e in net_connect_unix_with_retries (path=0x562dc200ce10 <error: Cannot access memory at address 0x562dc200ce10>, msecs=msecs at entry=5000) at net.c:347
#3 0x00007f815320ce0d in anvil_client_connect (client=0x562dc2...
2019 Jan 08
1
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...t=smtp in LMTP
>> mode to dovecot-lmtp, press interrupt while exim is blocking after
>> RCPT TO:
>>
>>
>> (gdb) bt
>> #0? 0x00007f81528af270 in __nanosleep_nocancel () at
>> ../sysdeps/unix/syscall-template.S:84
>> #1? 0x00007f81528d8b84 in usleep (useconds=<optimized out>) at
>> ../sysdeps/posix/usleep.c:32
>> #2? 0x00007f815329368e in net_connect_unix_with_retries
>> (path=0x562dc200ce10 <error: Cannot access memory at address
>> 0x562dc200ce10>, msecs=msecs at entry=5000) at net.c:347
>> #3? 0x00007f815...
2019 Jan 06
0
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...end an e-mail from swaks to exim that use transport=smtp in LMTP mode to dovecot-lmtp, press interrupt while exim is blocking after RCPT TO:
>
>
> (gdb) bt
> #0 0x00007f81528af270 in __nanosleep_nocancel () at ../sysdeps/unix/syscall-template.S:84
> #1 0x00007f81528d8b84 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
> #2 0x00007f815329368e in net_connect_unix_with_retries (path=0x562dc200ce10 <error: Cannot access memory at address 0x562dc200ce10>, msecs=msecs at entry=5000) at net.c:347
> #3 0x00007f815320ce0d in anvil_client_connect (clien...
1999 Sep 30
0
non-cpu intensive sleep in R?;
Hi,
Is there a function similar to C's usleep in R?
usleep(10000);
from the man pages:
The usleep() function will cause the calling thread to be suspended from
execution until either the number of real-time microseconds specified by
the argument useconds has elapsed or a signal is delivered to the
calling thread and its action is to invoke a signal-catching function or
to terminate the process. The
suspension time may be longer than requested due to the scheduling of
other activity by the system.
I do not want to dyn.load usleep for portability...
2006 Jan 09
15
MTU and Voice Delay (latency??)
Our users are experiencing some unacceptable delay when trying to have a
conversation. The delay is so noticeable that they keep stepping on each
others words and resort to calling the customers via cell phone.
Here is the setup
SDSL Connection (PPPoA)
Speedtouch 610 SDSL Modem
3Com 2224PWR Plus Switch (phones on separate VLAN)
8 Cisco 796 Phones
All connecting to a remote Asterisk Server.
We