代码搜索:timeout
找到约 9,694 项符合「timeout」的源代码
代码结果 9,694
www.eeworm.com/read/360431/2963289
dsp timeout4.dsp
# Microsoft Developer Studio Project File - Name="timeout4" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86)
www.eeworm.com/read/360431/2963323
dsp timeout3.dsp
# Microsoft Developer Studio Project File - Name="timeout3" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86)
www.eeworm.com/read/360431/2963338
c timeout3.c
#include "common.h"
/* TODO port to windows, use thread */
#if defined(TDS_HAVE_PTHREAD_MUTEX) && HAVE_ALARM
#if HAVE_UNISTD_H
#include
#endif /* HAVE_UNISTD_H */
#if TIME_WITH_SYS_TIME
www.eeworm.com/read/360431/2963360
c timeout4.c
#include "common.h"
#if HAVE_UNISTD_H
#include
#endif /* HAVE_UNISTD_H */
#if TIME_WITH_SYS_TIME
# if HAVE_SYS_TIME_H
# include
# endif
# include
#else
# if HAVE_SY
www.eeworm.com/read/360431/2963362
c timeout2.c
#include "common.h"
#ifdef HAVE_UNISTD_H
#include
#endif
#include
/*
* Test timeout on prepare
* It execute a query wait for timeout and then try to issue a new prepare/exec
www.eeworm.com/read/359563/2975129
c timeout1.c
#include
#include
#include
void main()
{
struct termio old, new;
char c = 0;
ioctl (0, TCGETA, &old);
new = old;
new.c_lflag &= ~ICANON;
new.c_cc[VMIN] = 0;
new
www.eeworm.com/read/359563/2975131
c timeout3.c
#include
#include
#include
#include
void main()
{
struct timeval timeout;
fd_set readfds;
int i;
char c;
timeout.tv_sec = 3;
timeout.tv_usec = 0
www.eeworm.com/read/359563/2975134
c timeout2.c
#include
#include
#include
#include
int timeout = 0;
jmp_buf env;
void timefunc(int sig) /* 定时事件代码 */
{
timeout = 1;
longjmp(env, 1);
}
void main ()
{
www.eeworm.com/read/358128/3004081
result wait_timeout.result
select 0;
0
0
flush status;
select 1;
1
1
select 2;
Got one of the listed errors
select 3;
3
3
select 1;
1
1
select 2;
Got one of the listed errors
select 3;
3
3
www.eeworm.com/read/358128/3004983
test wait_timeout.test
# This tests not performed with embedded server
-- source include/not_embedded.inc
#
# Bug #8731: wait_timeout does not work on Mac OS X
#
# Connect with another connection and reset counters
--dis