[Mono-devel-list] tramp-s390 changes

Paolo Molaro lupus at ximian.com
Tue Dec 14 14:00:12 EST 2004


On 12/07/04 Dick Porter wrote:
> On Mon, 2004-12-06 at 19:45 -0500, Neale.Ferguson at SoftwareAG-USA.com
> > While I think of it, at the summit I talked with Sebastian and Paolo
> > about 64-bit thread IDs. The solution was to provide a mapping layer
> > within io-layers so that the 32-bit thread ids as defined by the
> > standard would still work with 64-bit systems where the task ids are 8
> > bytes.  What's the status of this? 
> 
> Not yet implemented.  I'll get it done when I've finished the current
> io-layer rework.  (Unless someone else beats me to it of course :) )
> 
> It was complicated by the fact that the thread abort code calls
> pthread_kill on the thread ID, in metadata/threads.c.  I discussed a
> possible solution with Paolo but I didn't write it down and I've
> forgotten what we agreed :(  Paolo, can you remember it?

I think the solution was simply to export a function from
io-layer that would do the kill with the correct info: the code
in metadata would still be ifdeffed for non windows only.
This way the knowledge about pthread_t would be still limited to 
io-layer/.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list