<?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="2006/02/be44d73f15618cb62a50293740a0e97e"
  from="Vincenzo Ciancia &lt;vincenzo_yahoo_addressguard-gmane@y...&gt;"
  author="Vincenzo Ciancia"
  date="2006-02-13T10:06:10"
  subject="Re: Thread Local Storage"
  prev="2006/02/d346c56a895af1e7acafba888010f84d"
  next="2006/02/f6d6dd723dfe60f938c19fe88ed24c99"
  prev-in-thread="2006/02/37d39060650086440a25f738a8d7ce2b"
  next-in-thread="2006/02/685b685063d5aac6934aa1e7da4ac9f1"
  prev-thread="2006/02/a74b4211ff6f1c1241c93b24e6b20882"
  next-thread="2006/02/90d9e4642462c7664427ec1e4375a828"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Thread Local Storage">
<msg 
  url="2006/02/37d39060650086440a25f738a8d7ce2b"
  from="Jonathan Roewen &lt;jonathan.roewen@g...&gt;"
  author="Jonathan Roewen"
  date="2006-02-13T04:29:39"
  subject="[Caml-list] Thread Local Storage">
<msg 
  url="2006/02/be44d73f15618cb62a50293740a0e97e"
  from="Vincenzo Ciancia &lt;vincenzo_yahoo_addressguard-gmane@y...&gt;"
  author="Vincenzo Ciancia"
  date="2006-02-13T10:06:10"
  subject="Re: Thread Local Storage">
<msg 
  url="2006/02/685b685063d5aac6934aa1e7da4ac9f1"
  from="Jonathan Roewen &lt;jonathan.roewen@g...&gt;"
  author="Jonathan Roewen"
  date="2006-02-14T02:40:27"
  subject="Re: [Caml-list] Re: Thread Local Storage">
<msg 
  url="2006/02/f313296d7c99c64a62b09ce3a90c78da"
  from="skaller &lt;skaller@u...&gt;"
  author="skaller"
  date="2006-02-14T04:06:54"
  subject="Re: [Caml-list] Re: Thread Local Storage">
<msg 
  url="2006/02/91bf2295cdd25f0d08079131d5dedc0e"
  from="Florian Weimer &lt;fw@d...&gt;"
  author="Florian Weimer"
  date="2006-02-14T21:40:12"
  subject="Re: [Caml-list] Re: Thread Local Storage">
<msg 
  url="2006/02/31be4778d2ba3feaa6fe155b6b506b0e"
  from="skaller &lt;skaller@u...&gt;"
  author="skaller"
  date="2006-02-14T22:21:48"
  subject="Re: [Caml-list] Re: Thread Local Storage">
<msg 
  url="2006/03/1a44ff95789d94a924a35f2f197429a5"
  from="Florian Weimer &lt;fw@d...&gt;"
  author="Florian Weimer"
  date="2006-03-01T11:23:28"
  subject="Re: [Caml-list] Re: Thread Local Storage">
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Jonathan Roewen wrote:

&gt; I'm wondering if it'd be at all possible to somehow implement
&gt; something akin to TLS under the ocaml bytecode vmthreads package.
&gt; 
&gt; This is for having software-based processes, and globals whose
&gt; instances are unique to a given process.

I don't know if there are better solutions but at least you can use an
hashtable or a balanced tree or whatever (protected by a mutex) indexed on
thread identifiers as reported by  "Thread.id (Thread.self ())" or
something similar.

Bye

Vincenzo

-- 
Please note that I do not read the e-mail address used in the from field but
I read vincenzo_ml at yahoo dot it
Attenzione: non leggo l'indirizzo di posta usato nel campo from, ma leggo
vincenzo_ml at yahoo dot it

</contents>

</message>

