Quick Search


Tibetan singing bowl music,sound healing, remove negative energy.

528hz solfreggio music -  Attract Wealth and Abundance, Manifest Money and Increase Luck



 
Your forum announcement here!

  Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums > Other Methods of FREE Advertising > Safelist Directory

Safelist Directory Safelists will also work if you use them. The bigger the list the better isn't always true... sometimes the smaller lists can be just as responsive if not more. It all depends on you and your dillegence.

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-08-2011, 01:57 PM   #1
qingxiu33
 
Posts: n/a
Default Wait

wait英语中有等待的意思,在盘算机范畴她还带是一种Java术语,C语言中也有wait命令。

目录
Java术语wait的英文说明C语言中的wait函数wait 命令用处语法描述标记文件 Java术语  术语名称:wait   术语解释:是一个UNIX命令。它等待所有后盾进程都实现后讲演各自的结束状态。wait的英文解释   wait [we?t]   n. 等待, 等待时光   v. 等, 耽误, 等待; 等候, 延缓, 等待C语言中的wait函数  wait(等待子进程中止或结束)   相关函数 waitpid,fork   表头文件   #include<sys/types.h>   #include<sys/wait.h>   定义函数 pid_t wait (int * status);   函数阐明   wait()会暂时停滞目前进程的执行,直到有信号来到或子进程结束。如果在调用wait()时子进程 已经停止,则wait()会即时返回子进程结束状态值。子进程的结束状态值会由参数statu s 返回,而子进程的进程辨认码也会一起返回。如果不在意结束状态值,则参数status 能够设成NULL。子进程的结束状态值请参考下面的waitpid()。   返回值   如果执行胜利则返回子进程识别码(PID),如果有过错发生则返回-1。失败原因存于errno 中。   附加解释   典范   #include<stdlib.h>   #include<unistd.h>   #include<sys/types.h>   #include<sys/wait.h>   main()   {   pid_t pid;   int status,paul smith men,i;   if(fork()= =0){   printf(“This is the child process .pid =%d\n”,getpid());   exit(5);   }else{   sleep(1);   printf(“This is the parent process ,wait for child...\n”;   pid=wait(&status);   i=WEXITSTATUS(status);   printf(“child’s pid =%d .exit status=^d\n”,pid,i);   }   }   执行   This is the child process.pid=1501   This is the parent process .wait for child...   child’s pid =1501,exit status =5   waitpid(等候子进程中断或结束)   相干函数 wait,fork   表头文件   #include<sys/types.h>   #include<sys/wait.h>   定义函数 pid_t waitpid(pid_t pid,int * status,int options);   函数说明   waitpid()会临时结束目前进程的执行,直到有信号来到或子进程结束。如果在调用wait()时 子进程已经结束,则wait()会立刻返回子进程结束状态值。子进程的结束状态值会由参数st atus 返回,ghd on sale,而子过程的进程识别码也会一快返回。如果不在意结束状态值,则参数status 可以设成NULL,polo shirts men。参数pid 为欲等待的子进程识别码,其余数值意思如下:   pid<-1 等待进程组识别码为pid 相对值的任何子进程。   pid=-1 等待任何子进程,mbt chapa,相称于wait()。   pid=0 等待进程组识别码与目前进程相同的任何子进程。   pid>0 等待任何子进程识别码为pid 的子进程。   参数option 可认为0 或下面的OR 组合:   WNOHANG 如果不任何已经结束的子进程则立刻返回,不予以期待。   WUNTRACED 如果子进程进入暂停履行情况则马上返回,但结束状况不予以理睬。   子进程的结束状态返回后存于status,底下有多少个宏可判断结束情况:   WIFEXITED(status)如果子进程畸形结束则为非0 值。   WEXITSTATUS(status)取得子进程exit()返回的结束代码,正常会先用WIFEX ITED 来判断是否正常结束才干使用此宏。   WIFSIGNALED(status)如果子进程是由于信号而结束则此宏值为真。   WTERMSIG(status) 取得子进程因信号而中断的信号代码,一般会先用WIFSIGNALED 来判定后才使用此宏。   WIFSTOPPED(status) 如果子进程处于暂停执行情形则此宏值为真。普通只有使用WUNTRACED 时才会有此情况。   WSTOPSIG(status) 获得引发子进程暂停的信号代码,个别会先用WIFSTOPPED 来断定后才应用此宏。   返回值   如果执行成功则返回子进程识别码(PID),如果有错误产生则返回-1。失败起因存于errno 中。wait 命令用途  等待直到一个进程标识终止。语法  wait [ ProcessID ... ]   变形:   当初时态 过去时态 从前分词 现在进行时   wait waited waited waiting描写  wait 命令等待(暂停执行)直到由 ProcessID 变量指定的进程标识终止。如果没有指定 ProcessID 变量,wait 命令会等待直到调用 shell 的所有已知进程标识终止并且以 0 为退出状态退出。假如 ProcessID 变量代表一个未知的进程标识,wait 命令会把它们视为以 127 为退出状态退出的已知进程标识。wait 命令以 ProcessID 变量指定的上个进程标识的退出状态退出。标志  ProcessID 指定一个命令的无符号十进制整数进程标识,wait 命令会等待直到该进程标识终止。   退出状态   如果指定一个或多个操作数,所有的操作数终止或不为调用 shell 所知,并且上个操作数指定的状态是已知的,那么 wait 命令的退出状态与上个操作数指定的命令退出状态信息雷同。如果进程因为收到信号而异样终止,那么退出状态会 大于 128 并且与其它信号天生的退出状态信息不同,只管未指定确实的状态值(请参阅 kill -l 命令选项)。否则,wait 命令会以以下值中的一个退出:   0 以无操作数方法调用 wait 命令,christian louboutin pumps sale,并且调用的 shell 所已知的所有进程标识已经终止。   1-126 wait 命令检测到一个毛病。   127 由上一个指定的 ProcessID 操作数所标识的命令是未知的。文件  /usr/bin/wait 包括 wait 命令。 词条图册更多图册 扩大浏览: 1
hi.baidu.com/freud
开放分类: 网络,英语,linux,UNIX命令 “Wait”在英汉词典中的解释(起源:百度词典): wait
KK: []
DJ: []vi.1. 等,等待[(+for)][+to-v]2. 延缓处置;耽搁3. (常用进行时)已筹备好[(+for)]4. 伺候,服侍[(+on/upon/at)]vt.1. 等待(机遇等)2. 【口】(为...)延后(用餐等)[(+for)]n.[S]1. 等待2. 等待的时间查看例句 “Wait”相关词条:
  Reply With Quote

Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 11:33 AM.

 

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum