Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* X25 PVC with threads on DIGITAL UNIX 3.0
@ 1996-01-30  5:00 Rajiv Hukku
  0 siblings, 0 replies; 3+ messages in thread
From: Rajiv Hukku @ 1996-01-30  5:00 UTC (permalink / raw)






^ permalink raw reply	[flat|nested] 3+ messages in thread

* X25 PVC with threads on DIGITAL UNIX 3.0
@ 1996-01-30  5:00 Rajiv Hukku
  0 siblings, 0 replies; 3+ messages in thread
From: Rajiv Hukku @ 1996-01-30  5:00 UTC (permalink / raw)


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 <stdio.h>
#include <string.h>
#include <netx25/x25.h>
#include <errno.h>
#include <setjmp.h>
#include <pthread.h>

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);
    }
  
}




^ permalink raw reply	[flat|nested] 3+ messages in thread

* X25 PVC with threads on DIGITAL UNIX 3.0
@ 1996-02-01  5:00 Rajiv Hukku
  0 siblings, 0 replies; 3+ messages in thread
From: Rajiv Hukku @ 1996-02-01  5:00 UTC (permalink / raw)


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 <stdio.h>
#include <string.h>
#include <netx25/x25.h>
#include <errno.h>
#include <setjmp.h>
#include <pthread.h>

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);
    }
  
}




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-02-01  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-30  5:00 X25 PVC with threads on DIGITAL UNIX 3.0 Rajiv Hukku
  -- strict thread matches above, loose matches on Subject: below --
1996-02-01  5:00 Rajiv Hukku
1996-01-30  5:00 Rajiv Hukku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox