From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ba7ca6b452e2c41d X-Google-Attributes: gidfee84,public From: hukku@netcom.com (Rajiv Hukku) Subject: X25 PVC with threads on DIGITAL UNIX 3.0 Date: 1996/01/30 Message-ID: #1/1 X-Deja-AN: 137229919 sender: hukku@netcom22.netcom.com organization: NETCOM On-line Communication Services (408 261-4700 guest) newsgroups: comp.unix.osf.osf1 Subject: X25 PVC with threads on DIGITAL UNIX 3.0 Newsgroups: comp.unix.osf.osf1 Organization: NETCOM On-line Communication Services (408 261-4700 guest) Summary: Keywords: Hi, I have come across a problem using DEC's X25 layered product on DIGITAL UNIX 3.0 running on an alpha based DEC 3000 model 600s The call X25OpenPVC fails to return while linking with the threaded version of the library. When the same code is linked with the normal (un-threaded) version the code works fine. Is this a known problem ? Any help would be most welcome. regards Rajiv Note : Below is a extract from the program which is currently working under normal process environment and not working in the threaded environment. /***************** */ #define MAIN #include #include #include #include #include #include main() { int result,cid; if((result = X25OpenPort()) < 0) { char errorText[50]; strcpy(errorText, "** Could not open port"); X25PrintError(result, errorText); exit(0); } cid = result; if((result = X25OpenPVC(cid,0,NULL,0,"simpact-pvc")) < 0) { char errorText[50]; strcpy(errorText, "** Could not open PVC"); X25PrintError(result, errorText); exit(0); } while(1) { sleep(1); } }