Linux编程 多进程,多线程求解PI(圆周率)
摘要:
题目: 链接 多进程: #include <unistd.h> #include <stdio.h> #include <stdlib.h> #define n 100000000.0 int main() { int fd[2]; // 创建二个 fd, fd[0] 管道用于读, fd[1] 管道 阅读全文
posted @ 2018-11-02 10:18 solvit 阅读(1774) 评论(0) 推荐(0)
浙公网安备 33010602011771号