Hi,

I came along way in getting a working version of iThread last night, and
tonight I will package it together and release it tomorow.

Tomorow this will likely go in
I need to add cond_wait and broadcast/signal
I need to add protection to double locking the same variable from the same
thread
Documentation

And after that
I need to add shared hashes and arrays, I will probobly start with arrays.
I need to implment read-write locking
I need to write a test script testing threadsaftyness of perl functions
I need to write wrapper functions for seralizing access to these functions
I need to implment unsafe shared variables for maximum speed which requires
the end user to lock em! (Don't know if this is a good idea, as they will
coredump if not protected properly, otoh you save alot of overhead)

Naming of shared variables.

The attribute :shared is already used to share READONLY data between
threads. The attribute :solar has been suggested but I think it is non
descriptive. We either need a good name for our shared variables or we need
to find a new name for :shared and takeover that, any suggestions would be
nice.

I wrote a CORE::GLOBAL::localtime() that mutex protects CORE::localtime,
this fixes the issiue that localtime is NOT threadsafe. It would be nice if
somone could help writing test cases for more functions to map the problem
area.

I am going to setup a CVS server soon, making it easier for other people to
work on it. There as usal a chatty journal att
use.perl.org/journal.pl?op=display&uid=1411

Artur

Reply via email to