代码搜索:fork
找到约 4,354 项符合「fork」的源代码
代码结果 4,354
www.eeworm.com/read/344386/3211022
pl fork2_test.pl
#!/usr/bin/perl -w
# This is a test with uses 5 processes to insert, update and select from
# two tables.
# One inserts records in the tables, one updates some record in it and
# the last 3 does diff
www.eeworm.com/read/344386/3211032
pl fork_big2.pl
#!/usr/bin/perl -w
#
# This is a test with uses many processes to test a MySQL server.
#
# Tested a lot with: --threads=30
$opt_loop_count=500000; # Change this to make test harder/easier
#########
www.eeworm.com/read/438718/1822912
py test_fork1.py
"""This test checks for correct fork() behavior.
We want fork1() semantics -- only the forking thread survives in the
child after a fork().
On some systems (e.g. Solaris without posix threads) we fi
www.eeworm.com/read/378992/2677673
exp scalar_fork.stderr.exp
-----------------------------------------------------
2: __NR_fork 0e
-----------------------------------------------------
www.eeworm.com/read/293357/8298317
c fork1.vfork.c
#include
#include
#include
#include
int gvar = 0;
int main(int argc, char** argv)
{
int lvar = 0;
pid_t child_pid;
print
www.eeworm.com/read/293357/8298329
c fork1.forkall.c
#include
#include
#include
#include
void* thread_func(void*);
void print_thread();
int main(int argc, char** argv)
{
pid_t child_pid1, child_pid2;
www.eeworm.com/read/266741/11213632
doc 1680《fork() makes trouble》.doc
www.eeworm.com/read/202507/15380357
cpp two fork trees.cpp
//二叉树
#define NULL 0
typedef struct stu{
char data;
struct stu *left,*right;
}sn;
sn *Create(sn *a)
{char ch;
scanf("%c",&ch);
if(ch!='*'){a=(sn *)malloc(sizeof(sn));
if (!a) printf("yuguyuy
www.eeworm.com/read/104305/15699539
c tcp43fork.c
#include
#include
#include
void main(void)
{
pid_t pid;
printf("hello\n");
pid = fork();
switch (pid) {
case -1: pri