We have created a thread in the python script to receive the messages from python extension module which we have ported. The IPC mechanism that we have used between python script and Python extension module is Message Queue.
the issue what we are facing is, the receiveing thread in the python script is getting blocked.

# Create response queue
self.responseq = MsgQueue(self.response_q_id, 0666 | IPC_CREAT);

The receiveing thread looks as below
def receive_msg(self):
apache.log_error("calling recv msg")
rcv_msg = self.responseq.recv( 1024 );
apache.log_error("recv msg called")

The thread is created using hte thread.start_new_thread( self.receive_msg(), ()) API

could any one suggest us what could be wrong or is there any other way to solve this problem.

The version of Python for s60 is 1.4.5.

thanks in advance