這段影片可以讓我們了解 elang scheduler的處理..
Run queues
The differences between processes, ports and timers
How the next thing to execute is chosen and
Load balancing
wjhwang 發表在 痞客邦 留言(0) 人氣(63)

今天想要在 erlang 環境下使用 obserevr 的工具,下了命令之後
Martin-MacBook-Pro:~ martin$ erl
Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]
Eshell V5.10.1 (abort with ^G)
1> observer:start().
exception error: undefined function wx_object:start/3
in function observer_wx:start/0 (observer_wx.erl, line 66)
跳出錯誤,說明沒有定義 wx_object,Google爬文一下,原來erlang許多的GUI工具都是基於 wx 函式庫,所以在Mac OS 則需要 wxWidgets 的套件,就直接用 port 來安裝這個套件吧。
wjhwang 發表在 痞客邦 留言(2) 人氣(663)