I released a test release of iThreads tot he perl ithread list, it has been a very quite response, maybe because it is very underdocumented.
This is what currently works.
- create, join, self, ==
- sharing of a arrays, arrayrefs and scalars
- safe versions of some internal functions
- tested on linux
Here are the known bugs
- detach and list don't work
- memory cleanup when detached broken!
- sharing of hashes are not implmented
- out of memory on some freebsd boxes
- not tested on more platforms
- many perl functions are not threadsafe
- Regex engine (see next post)
- external libraries cannot clone
- perl_clone breaks weaken references
- wierd bug when running under 5.7.1 that reports an incorrect amount of leaking scalars
I am going to add shared hashes today I think :), also we need to be able to store filereferences somehow, not sure how to do that!
Thanks to nlogn for lending me his devel box to try some stuff at.
Artur