SCTP Discussions

Text archives Help


[SCTP-Discussion] Problems facing in multithreading.


Chronological Thread 
  • From: "Jose, Tinku Malayil" <tinku.jose AT wipro.com>
  • To: <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] Problems facing in multithreading.
  • Date: Thu Jul 11 05:47:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi,

We are using the sctplib (sctplib-1.0.0-pre16) for
a multithreaded application. The sctpsend is in one thread
whereas the callbacks are in another thread. binary is core dumping
randomly because of some synchronization problem (we suspect).

From the code we understood that it is because of the use of some
global variables (currentAssociation in distribution.c).
we tried putting locks in send and receive
but now we are facing core dump in timer compare. we feel that this is
also because of the same reason.

did anyone face this problem before, then please let us know how
u solved it. or is it because of improper usage of the library.

rgds
Jose, Tinku Malayil.


**************************Disclaimer**************************************************


Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity to
which it is
addressed. You are notified that any use, copying or dissemination of the
information
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************






Archive powered by MHonArc 2.6.19+.

Top of page