Guangzhou professional save money Pig Systems Development app

  Saving system development Pig "Von Health" [191﹎5743﹍0738] or [micro] Guangzhou professional power saving system development Pig app, APP system development Pig saving money, saving money pig model system development, system software development pig save money , saving money pig system source code development, saving money pig game system development system, saving money pig saving mode APP system development ,, pig model to develop custom app, saving money pig APP software development costs, saving money pig software model case, save money pig custom development system source code, saving money pig model system platform to build APP, Guangzhou professional save money pig systems development app.

  Tips: ------ Tips: professional development company, the non-party platform, players not faze ------

  process

  Do not share any state

  Are scheduled by the operating system

  There are separate memory space (context switch time of the need to preserve the stack, cpu registers, virtual memory, and handle the relevant information such as open, large overhead)

  Communication is achieved mainly through the signal transmission mode (there are numerous ways to achieve, semaphores, pipes, events, communication needs through the kernel, inefficient)

  Thread

  Shared variable (solve the problem of communication trouble, but for accessing variables need to lock)

  Are scheduled by the operating system

  A process can have multiple threads, each share of resources of the parent process (the overhead of creating a thread occupies much smaller than the process, the number that can be created will be much)

  In addition to the way communication between processes can be used for communication, but also can communicate by way of shared memory (via shared memory communication much faster than through the kernel)

  Thread using the system will bring an additional burden of context switching.

  Coroutine

  Fully controlled by a user scheduling

  A thread (process) can have multiple coroutines

  Each thread (process) cycle completed in accordance with the order of the list of the tasks assigned different tasks (when the task is blocked, the next task; when restored, then come back to perform this task; context switching between tasks only need to save the task, no kernel overhead, can be unlocked access global variables)

  Coroutine need to ensure that non-clogging and do not depend

  Coroutine not substantially synchronous communication, the use of asynchronous message communication, more efficient

  ————————————————

  Disclaimer: This article is CSDN bloggers, "Ten Steps to kill a man _ a thousand miles without leaving the line" original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.

  Original link: https: //blog.csdn.net/m0_37609579/article/details/102765889

Guess you like

Origin www.cnblogs.com/1qqss/p/11760739.html