技術筆記

  • ACM
  • android
  • C/C++
  • Design Pattern
  • javascript
  • linux
  • Multithread
  • Others
  • Python

Active Object Pattern -- 接受非同步訊息的主動的物件

by twmht
in Multithread on 2014-09-06

active object 是指自己擁有獨立的執行緒的物件,而且它還可以從外部接收非同步的訊息。

範例程式

This blog is proudly powered by Pelican, which takes great advantage of Python.

Fresh is a responsive theme designed by jsliang and contributors. Special thanks to Smashing Magazine and Twitter Bootstrap.