From: Gin Mendi Date: 2009-08-27T19:10:34+09:00 Subject: Re: Ruby/DL - cross-thread violation on rb_thread_schedule() Well I noticed I got the error when I try to use my structure to convert my ptrData result_list: > # my callback for the live feed > FEED_CALLBACK = DL.callback('0PL') { |result_list, count| } > if result_list > record = FeedRecord.new(result_list) > puts record > end > } Now I'm trying to figure out how to not use the structure or find another way I can read the structure passed to the call back. Anyone here can explain why I'm exactly getting this type of error when I use my structure and what I can do? I was happy that I was making progress using ruby/dl but now been stuck at this for days and can't find anything that can help me. :( -- Posted via http://www.ruby-forum.com/.