Version française
Home     About     Download     Resources     Contact us    
Browse thread
Why thread.cmi of vmthreads/systhreads different
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chris King <colanderman@g...>
Subject: Re: [Caml-list] Why thread.cmi of vmthreads/systhreads different
On 7/27/07, Zheng Li <li@pps.jussieu.fr> wrote:
> My point is that two different versions of thread.cmi greatly reduce the
> flexibility. I don't see many obstacles to make them agree, but I'm not sure
> whether there exist other factors to prevent that from happening.

This is a perfect example of a situation in which Piotr Wieczorek's
interface manipulation patches [1] would come in handy.  In
particular, they would allow each of the implementations of the Thread
module to be retyped to a common interface, so that they can share a
.cmi.

- Chris

[1] http://caml.inria.fr/pub/ml-archives/caml-list/2006/12/c7461312202053f2213a9bb33206fcb8.en.html