版本 e562d10cc3b507eb22d62e7648c84d346c80a3d2
Changes from e562d10cc3b507eb22d62e7648c84d346c80a3d2 to 35bdab35d8a3f9091e75bf1efbeb01dadbaa4a24
---
title: Week #3 (Mar 10) :: ARM Architecture
toc: no
...
教材
----------
* fork() 系統呼叫的原理
- `一個fork的面試題<http://coolshell.cn/articles/7965.html>`
- `一個fork的面試題<http://coolshell.cn/articles/7965.html>`_
+ 假設 fork.c 編譯出來的結果是 ``fork``,則可用這個指令計算 '-' 數量: ``./fork | wc -c``
- `In fork() which will run first, parent or child?<http://stackoverflow.com/questions/21586292/in-fork-which-will-run-first-parent-or-child>`_
+ ``sudo sysctl -w kernel.sched_child_runs_first=1``
+ `基本能力鑑定</embedded/2015q1w2>`_ 的第 4 題題意不清,所以沒有辦法作答
- `In fork() which will run first, parent or child?<http://stackoverflow.com/questions/21586292/in-fork-which-will-run-first-parent-or-child>`_
+ ``sudo sysctl -w kernel.sched_child_runs_first=1``
+ `基本能力鑑定</embedded/2015q1w2>`_ 的第 4 題題意不清,所以沒有辦法作答
* `Introduction to ARM Architecture<https://docs.google.com/presentation/d/1cFBRICktpVQAOLzE5eDKD-OM4ckJuncFsn39Wg8aLZI/edit#slide=id.p14>`_