This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi Robert,
think it is the problem with the connect system call itself, when it
fails.
Or has my system got corrupted.
I am using FSUPthreads, as the thread support on SCO.
The example program which confirmed it is attached.
It is a client program. Just make it fail at the connect system call.
I gave a wrong server IP to
make it fail.
Any hints.
Regards
Rakshit.
<<client1.cpp>>
> ----------
> From: Robert Lipe[SMTP:robertlipe@usa.net]
> Sent: Tuesday, December 11, 2001 10:32 PM
> To: Rakshit Karnavat , Gurgaon
> Cc: gcc@gcc.gnu.org
> Subject: Re: Connect system call in SCO
>
> > It is a multithreaded program, using both INET and UNIX domain
> sockets.
>
> I suspect that's the key clue. OpenServer doesn't support threads.
> Look at whatever packaging you're using that's dummying up threads.
> That package is presumably responsible for "fixing" errno to make it
> thread-safe.
>
> > But it was set to -2146297092(junk probably).
> > I don't have a clue what this is.
>
> It may be that your compilatino line isn't turning on whatever manifest
> your thread package is using to wrap errno.
>
> RJL
>
Attachment:
client1.cpp
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |