The async thread pool has nothing with SMP todo. The asynch threads are only
used by the file driver and by user written drivers that specifically uses the thread pool. The file driver uses this to avoid locking of the whole Erlang VM for a longertime period in case of a lengthy file operation. The asynch threads was introduced long before the SMP support in the VM and works for the non SMP VM as well. In fact the asynch threads are even more important for a non SMP system because without it a lengthy file operation will block the whole VM.
used by the file driver and by user written drivers that specifically uses the thread pool. The file driver uses this to avoid locking of the whole Erlang VM for a longertime period in case of a lengthy file operation. The asynch threads was introduced long before the SMP support in the VM and works for the non SMP VM as well. In fact the asynch threads are even more important for a non SMP system because without it a lengthy file operation will block the whole VM.
异步线程池主要用于文件驱动操作,避免长时间文件操作导致整个Erlang虚拟机锁定。它对于非SMP系统尤为重要,因为没有它,长时间的文件操作将阻塞整个虚拟机。
856

被折叠的 条评论
为什么被折叠?



