# Runit assertions from other thread

**URL:** <https://www.ruby-forum.com/t/runit-assertions-from-other-thread/164819>\
**Category:** Ruby\
**Created:** [April 6, 2009, 10:55am UTC](https://www.ruby-forum.com/t/runit-assertions-from-other-thread/164819 "2009-04-06T10:55:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ee7513/32.png) [@mshah](https://www.ruby-forum.com/u/mshah)\
**Post date:** [April 6, 2009, 10:55am UTC](https://www.ruby-forum.com/t/runit-assertions-from-other-thread/164819/1 "2009-04-06T10:55:49Z")

</div>

Hi All,  
I am using a sip framework (sipr) to test my sip server. sipr provides a  
facility to write controller, which run entirely in its own thread. It  
also provides a way to indicate end of sip controller, so that the test  
thread can proceed ahead do verification.

So its all post facto verification.

However I need to do some assertion when my execution control is in sip  
controller. e.g. When a successful call is established I want to assert  
that my cli tool shows me one call in progress.

I want to know that how can I write this assert in my controller thread  
which can let the results know to the main test thread which started the  
controller thread.

Any pointers will be of great help.  
Thanks and Regards,  
Manish
