Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c40341af06f62eab134d68818a5462f91e09a69
Ticket: 659131ffffffffffffffffffffffffffffffffff
development targets: Complete pthreads?
User & Date: elfring on 2002-12-29 00:25:27
Changes

  1. icomment:
    Logged In: YES 
    user_id=572001
    
    1. I know that all things that are not provided by the package yet can be done by 
    own additional programming.
    But I read the available documentation in 
    this way that "semaphores" do more (They can be shared between threads 
    and processes.) and are a synchronization technique with other uses than 
    mutex and condition variables alone. The following items are also part of the 
    POSIX standard 1003.1c and may be offered in a future version of the thread 
    package.
    It is good that the thread pool functions were implemented 
    without locking.
    1.1 mutexattr... - http://docs.sun.com/db/doc/806-
    6867/6jfpgdcmn?a=view
    1.2 mutex_consistent_np, mutex_trylock - 
    http://docs.sun.com/db/doc/806-6867/6jfpgdcmo?a=view
    1.3 
    condattr... - http://docs.sun.com/db/doc/806-
    6867/6jfpgdcmp?a=view
    1.4 cond_wait (I assume that the function 
    "pthread_cond_timedwait" is used by the package.), 
    cond_reltimedwait_np - http://docs.sun.com/db/doc/806-
    6867/6jfpgdcmq?a=view
    1.5 sem_... - 
    http://docs.sun.com/db/doc/806-6867/6jfpgdcmr?a=view
    1.6 
    rwlockattr... - http://docs.sun.com/db/doc/806-
    6867/6jfpgdcms?a=view
    1.7 rwlock... - 
    http://docs.sun.com/db/doc/806-6867/6jfpgdcmt?a=view
    
    2. 
    great
    
    3. Will you add this explanation to the 
    documentation?
    
    5. Do you know a function library that will help to get 
    that information?
    
    6. In which package is the call "vwait 
    forever"?
    (You called it "this little bastard" once.)
    
    7. Okay - 
    Evaluation in a locked mode...
    
    8. What you you mean with "message 
    passing"?
    
    9. Well, then your implemenation does not need any 
    special treatment in this case like other threading libraries.
    
    10. Your 
    answer...?
    
    
    Thanks
    
    
  2. login: "elfring"
  3. mimetype: "text/plain"
  4. username: "elfring"