[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sockets exn- one day i'll learn to put things down



On Wed, Nov 02, 2011 at 05:24:41PM +0000, Richard Mortier wrote:
> 
> > On the Lwt front, you are hitting the fact that the backtrace is lost
> > between threads due to the Lwt monad. However, the pa_lwt syntax
> > extension has an option to preserve the backtrace.  I haven't turned
> > this on due to a certain difficulty with figuring out how to make it
> > optional in ocamlbuild. 
> > 
> > However, I could just turn it on permanently, with us remembering to
> > turn it off when doing performance tests for production runs, where
> > thread backtrace recording may be too expensive.
> > 
> > Any objections to that?
> 
> aha. i have no objections - i'll start making use of that now anyway.
> (presume you mean passing -lwt-debug to camlp4 as noted at
> <http://ocsigen.org/lwt/manual/> ?)

Yeah. Did it work if you just manually add it to ocamlbuild? I've not had
a chance to try it yet.

-- 
Anil Madhavapeddy                                 http://anil.recoil.org



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.