---
title: "supervisor一小技巧"
author: "coderplay"
date: "2007-09-04T13:20:15Z"
tags: []
slug: "supervisor"
draft: false
lastmod: "2007-09-04T13:20:15Z"
id: 120218
url: "https://coderplay.iteye.com/blog/120218"
---

simple\_one\_for\_one可以让supervisor的所有child都以相相同的处理步骤来动态加载child.

ejabberd的ejabberd\_tmp\_sup就是此技巧的一例.