Thread receives Interrupted System Call error

Thorsten Bonow <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
Hi,

I have a question concerning the forthcoming debug support. 

Without NGPT, open bug 259 in gdb (see link below) makes debugging of
multi-threaded applications that make use of message queues nearly impossible.

My question is: Is this a thread library problem and if it is, will it be fixed
with debugging support for NGPT?

The description of the error follows here:

    Thread receives Interrupted System Call error while waiting on message

    If a thread is waiting on a message queue and another thread
    is created (say in the main thread) the msgrcv() function
    returns with an error code of EINTR.

    This appears to be the case only while the program is under
    gdb's control.


Any help? Thanks

Thorsten Bonow


Here comes the link to the gdb bug database:

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=259&return_url=http%3A%2F%2Fsources.redhat.com%2Fcgi-bin%2Fgnatsweb.pl%3Fdatabase%3Dgdb%26cmd%3Dsubmit%2520query%26category%3Dall%26severity%3Dall%26priority%3Dall%26responsible%3Dall%26submitter_id%3Dall%26state%3Dall%26ignoreclosed%3DIgnore%2520Closed%26class%3Dall%26synopsis%3D%26multitext%3Dinterrupted%2520system%2520call%2520error%26columns%3Dcategory%26columns%3Dstate%26columns%3Dclass%26columns%3Dresponsible%26columns%3Dsynopsis%26displaydate%3DDisplay%2520Current%2520Date%26sortby%3DResponsible%26.cgifields%3Dcolumns%26.cgifields%3Doriginatedbyme%26.cgifields%3Ddisplaydate%26.cgifields%3Dignoreclosed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.