what does it mean by thread serialization in c++?

前端 未结 3 1788
后悔当初
后悔当初 2021-02-20 01:13

I know about serializing objects and how they are saved to disk, but what does thread serialization actually mean? Could any one help me on this one and point me in the right di

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-20 02:11

    Without knowing the specific context in which you were told this, I guess that it refers to the development of a single threaded application that simulates a multi-threaded system by using a message queue.

    This brings me back to the old days when I played a CircleMUD derivative. The entire game was implemented in a single thread, but it had to deal with 50-100 players simultaneously. I was quite amazed at how they accomplished that.

提交回复
热议问题