Hi,
I've simple HelloWorld test application which is statically linked with a library. I've some global data in the library. One of them is pointer to a class object. RHTTPSession is a member of this class.
I use multithreading. When my test app calls the library function, it instantiates this class, create RHTTPSession object, call RHTTPTransaction::SubmitL(), create another thread and return from this function to the test app. In the second thread, I check for the downloaded response and tried to close the session here. My app crashes with Kern Exec - 0 panic when I try to close session from the second thread. Does this mean I can't share RHTTPSession between multiple threads?
I also tried passing this global object in RThread.Create() TAny* param.
Same problem. Could some one tell me how to fix this?
Thanks in advance,
jvin



