Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
fork()
main() {
int i = 2;
int ret_val;
while(i > 0) {
ret_val = fork();
if (ret_val==0) {
printf(“In child %d. \n”, i);
} else{
printf(“In parent %d. \n”, i);}
i=i-1;
}
}
}
✍: Guest
2009-04-19, 5982👍, 0💬
Popular Posts:
Why is it preferred to not use finalize for clean up? Problem with finalize is that garbage collecti...
What is a measure in OLAP ? Measures are the key performance indicator that you want to evaluate. To...
What Are Named Parameters? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions Name...
Assuming that the structure of a table shows two columns like this: --------+------------+-- ----+---...
How do we enable SQL Cache Dependency in ASP.NET 2.0? Below are the broader steps to enable a SQL Ca...