Tk Library Source Code

View Ticket
Login
Ticket UUID: 1059528
Title: lock-free data structures
Type: RFE Version: None
Submitter: elfring Created on: 2004-11-03 14:34:07
Subsystem: struct Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-01-20 02:42:29
Resolution: Closed By: andreas_kupries
    Closed on: 2005-01-19 19:42:29
Description:
Would you like to see non-blocking implementations 
of common data structures be added to a TCL library 
module?
- http://www.cs.chalmers.se/~noble/
- http://groups.google.de/groups?
threadm=YVyfd.10491%24HA.550%
40attbi_s01&group=comp.programming.threads
User Comments: andreas_kupries added on 2005-01-20 02:42:28:
Logged In: YES 
user_id=75003

Discussion has moved to Tcl, where it is proper. Closing.

andreas_kupries added on 2004-11-05 04:29:40:
Logged In: YES 
user_id=75003

I am not working on the Thread package, and I have no plans
for anything regarding it. I.e. Zoran is the only one to ask
about this.

Sorry for not getting where you are trying to go. I still
see no connection to Tcllib, so I maintain my belief that
this RFE is misplaced.

elfring added on 2004-11-04 13:01:55:
Logged In: YES 
user_id=572001

The data can only be shared by the tsv interface of the thread package at the moment. Do you plan together with Zoran Vasiljevic to lower or change the boundaries in the future?

Are you interested to use current non-blocking techniques at various places on the C level?
http://en.wikipedia.org/wiki/Lock-free_and_wait-free_algorithms

andreas_kupries added on 2004-11-04 02:07:10:
Logged In: YES 
user_id=75003

Can you elaborate a bit more how you believe this will fit
into Tcllib ? The main problem I have about this is: At the
script level, and tcllib is at that level, we do not have
data structures shared between threads. A data structure
lives in one interpreter, which belongs to one thread.
Access happens via 'thread::send', which are events
underneath, automatically serialized.

I had a quick glance at the noble site and it seem that they
are talking about data structures at the C level. That could
be of interest to the core, and/or extensions like 'Thread',
or 'memchan' which have C level data structures living in
several threads at once. But I cannot see how this applies
to Tcllib, or can be applied to Tcllib.