search

Home  >  Q&A  >  body text

java - 如何用图画的方式有效地表示多线程?

ringa_leeringa_lee2802 days ago698

reply all(4)I'll reply

  • 天蓬老师

    天蓬老师2017-04-18 10:48:25

    Sequence diagram?

    reply
    0
  • 高洛峰

    高洛峰2017-04-18 10:48:25

    Multi-threading is not a static concept, it can only be reflected at runtime, so if you want to visualize it, you have to use a graphic to represent it, which itself has entered a misunderstanding

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:48:25

    This has long been solved in the music industry,

    That’s it: the score and parts of a symphony performance

    Think of each instrument as a thread. How can many instruments cooperate to play a complete and beautiful symphony?
    It is to arrange a certain instrument to play the right note at the right time.
    The score is a multi-thread timing schedule diagram.
    Beat is a timer.
    The conductor is the scheduler.

    reply
    0
  • 黄舟

    黄舟2017-04-18 10:48:25

    uml activity diagram https://en.wikipedia.org/wiki...

    reply
    0
  • Cancelreply