Structuring an application

Niclas Eklund <>
Fri Jan 13 17:17:51 CET 2006


Hello!

Update Restart = permanent | transient | temporary in your child
specification. For more information see the supervisor documentation.

/Nick

On Fri, 13 Jan 2006, Joel Reymont wrote:
> Rick,
> 
> Thanks for the tip.
> 
> On Jan 13, 2006, at 3:57 PM, Rick Pettit wrote:
> 
> >          * one_for_one  -  if  one  child  process terminates and
> >            should  be  restarted,  only  that  child  process  is
> >            affected.
> 
> What if I _do not_ want that child restarted, that's my issue. Is  
> there a way to supervise without restarting within OTP or do I just  
> have to use erlang:monitor?
> 
> > Just out of curiousity, are you taking a crash course in Erlang for  
> > work,
> > school, or fun? You ask a ton of questions :-)
> 
> I wrote a poker server in Erlang last summer and didn't ask a lot of  
> questions during that time. Then I was rooming with a distinguished  
> member of the Erlang community so it was quicker to just ask him :D.
> 
> I'm trying to use Erlang everywhere I can now which worked well  
> during my bout with Haskell. I figure it does not hurt to ask  
> questions and the more I ask, the more I learn.
> 
> 	Joel
> 
> --
> http://wagerlabs.com/

_________________________________________________________________
We Are The ORBs. Resistance Is Futile. Prepare To Be Assimilated!
_________________________________________________________________




More information about the erlang-questions mailing list