Threads vs. Async

后端 未结 6 1518
盖世英雄少女心
盖世英雄少女心 2020-12-02 05:39

I have been reading up on the threaded model of programming versus the asynchronous model from this really good article. http://krondo.com/blog/?p=1209

However, the

6条回答
  •  死守一世寂寞
    2020-12-02 06:12

    There are two ways to create threads:

    synchronous threading - the parent creates one (or more) child threads and then must wait for each child to terminate. Synchronous threading is often referred to as the fork-join model.

    asynchronous threading - the parent and child run concurrently/independently of one another. Multithreaded servers typically follow this model.

    resource - http://www.amazon.com/Operating-System-Concepts-Abraham-Silberschatz/dp/0470128720

提交回复
热议问题