Haris wrote:
I am trying to adapt C library to work with transactional memory. One main problem is that the dynamic linker uses locks when linking to a function in order to be thread safe. Locks don't work with transactional memory well. With an archive version I wouldn't need the dynamic linker.

Do transactional memory operations layer like locks do?
What happens when you fault during a transaction
operation?  Note that a page fault can occur at any time
during the life of a process, so if atomics or faults
during a transaction causes the transaction to abort,
you need another mechanism to insure safety.

- Bart





--
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to