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

Conference pamsrc::decmessageq

Title:NAS Message Queuing Bus
Notice:KITS/DOC, see 4.*; Entering QARs, see 9.1; Register in 10
Moderator:PAMSRC::MARCUSEN
Created:Wed Feb 27 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2898
Total number of notes:12363

2888.0. "attack of the killer pthreads (the client saga)" by WHOS01::ELKIND (Steve Elkind, Digital SI @WHO) Thu May 22 1997 21:54

    I've gotten a question from a developer at my customer: can DmQ be used
    with pthreads?  (I only have voice mail, but I assume this is on
    HP-UX).
    
    I looked over the other threads topics in this conference, and I think
    the boiled-down answer I should be giving him is:
    	not supported with the run time library, but
    	1) should work with all DmQ calls in the main thread
    	2) should work with all DmQ calls restricted to any single thread,
    	and
    	3) might work with calls in multiple threads providing you can
    	   guarantee only one thread is making a DmQ call at a time. (e.g.,
    	   mutex on some "DmQ" object)
    
    Now, to make things even trickier, the customer is using the v3.2A
    			       UNIX CLIENT LIBRARY!!
    
    I see no discussion of this in the notes file at all.  
    
    What are the practical and "official" answers to this question for the
    Unix client library?
T.RTitleUserPersonal
Name
DateLines
2888.1DECWET::SIMONICHMake it look easyTue May 27 1997 18:266
Since thread support is not mentioned in the SPD, I think the "official"
answer would have to be "not supported".

However, I think it would probably work with the restrictions you listed.

    Pat