2015年2月4日水曜日

まるちぷろせすとまるちすれっど

みなさんおひさしぶりです、うちやまです
メモ程度に書きます

マルチプロセス
→fork()とか、子プロセスてきなあれ
別のプロセス作成。
共有メモリ、プロセス間通信必要
メモリ空間が別なので自由度高いかもね
子プロセスが爆発しても、親を巻き込むことはあんまりないよ
UNIX以外じゃ使えないっぽいよ

マルチスレッド
→pthread_create()とか
自分の中にスレッドを作るイメージ
同じメモリ空間のなかでうごくのでグローバル変数とか使えます
逆に、同じメモリ空間なので、親をもころころしてしまえる危険性あるよ
小さい処理が多かったりする場合はマルチスレッドの方が、コスト少ないよ

てきとうなんで、間違ってたらごめんちゃい

おしまい


3 件のコメント:

  1. Thanks for sharing, nice post! Post really provice useful information!

    Giaonhan247 chuyên dịch vụ mua hàng trên ebay việt nam với chi tiết bảng giá cước gửi hàng đi mỹ uy tín và hướng dẫn cách đặt hàng trên amazon từ dịch vụ mua hàng mỹ online uy tín, giá rẻ.

    返信削除
  2. Several major factors affect the printing quality of an Epson printer. However, if your Epson printer not printing anything. But, there are many possible causes behind the occurrence of this issue, there is no particular solution to fix it. You might want to rule out each possible reason and make sure that everything is in place for the printer to work effectively. However, to determine the cause you can connect with the Epson printer support team for their quick assistance.

    返信削除
  3. Error code 0x97 comes up on your computer and you want to know what error code 0x97 means and how to repair error code ox97, well this might be due to any internal hardware problem and you may need to unclog the printhead, use the reset button on the printer to reset the connection cartridges, this should fix the printer error. If the above methods do not help, enter the customer service of Epson. Often you worry on how to repair my WF 3640 printer or how to address my printer connection? You can find information on how to reset my WF 3640 Epson or other technological problems, such as how to clean my printer heads manually through our website you can contact.
    Visit our site for further steps: Epson error code 0x97

    返信削除