[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8797.0. "Porting SUN threads (thr_create) to ALPHA" by ASIC::DEEGAN () Tue Feb 11 1997 21:54

    Is there any guide or whitepaper to porting an application
    using sun threads (thr_create(),etc) to the ALPHA?
    
    Is it safe to assumme that you must use pthreads on alpha?
    
    -Bill
    
T.RTitleUserPersonal
Name
DateLines
8797.1COL01::LINNARTZWed Feb 12 1997 06:0012
    You should definitly use OS version .gt. V4.0 and 1003.1c threads.
    I havent seen internal papers at Digital on hn how to port.
    One thing is a book by an Sun engineer called threads Primer.
    He does some comparism of Sun threads with 1003.1c threads and also
    mentions something about NT threads. The examples of the book
    are available at Suns homepage. In general, if the code isn't using 
    the suspension of threads to much, it should be straightforward to 
    make the codee portable. Sun threads also doesn't require mutexes to be
    initialized, but you will quickly see those kind of problems.
    
    Pit