<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/12/dfcdf05bb7a89d0d1442fbf3242c80f8"
  from="Markus Mottl &lt;markus@o...&gt;"
  author="Markus Mottl"
  date="2003-12-12T15:58:14"
  subject="[Caml-list] Finalizers and threads"
  prev="2003/12/20d5169ecc59f7b51b1b94bb922a9a69"
  next="2003/12/d1e1de7970b7af2882a64e70200b90ab"
  next-in-thread="2003/12/88bc90aa6873274d55aa4e3daf5c5256"
  prev-thread="2003/12/20d5169ecc59f7b51b1b94bb922a9a69"
  next-thread="2003/12/d1e1de7970b7af2882a64e70200b90ab"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Finalizers and threads">
<msg 
  url="2003/12/dfcdf05bb7a89d0d1442fbf3242c80f8"
  from="Markus Mottl &lt;markus@o...&gt;"
  author="Markus Mottl"
  date="2003-12-12T15:58:14"
  subject="[Caml-list] Finalizers and threads">
<msg 
  url="2003/12/88bc90aa6873274d55aa4e3daf5c5256"
  from="Damien Doligez &lt;damien.doligez@i...&gt;"
  author="Damien Doligez"
  date="2003-12-16T23:04:27"
  subject="Re: [Caml-list] Finalizers and threads">
</msg>
</msg>
</thread>

<contents>
Hi,

I'd like to know whether it is safe to use "enter_blocking_section"
in finalization functions (C) to allow execution of other threads when
some operation there (e.g. shutting down some TCP/IP-connection) may
block for some time.

Regards,
Markus

-- 
Markus Mottl          http://www.oefai.at/~markus          markus@oefai.at

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

