Forum Discussion

babuhari123's avatar
14 years ago

Can Roku Supports Multi threading concept

Hi Friends,

One Doubt, Is Roku Support Multithreading
i facing the issue like
in first page in roposterscreen having 10 items when iam reaching 7th item I am making request to another 10 item through "HTTP request",
mean while can i navigate to rospringboadrscreen with previous items which is already in first page

3 Replies

  • While in general, Brightscript is not multithreaded, some functions are, and what you described is perfectly possible using AsyncGetToString() or other Asynchronous methods of roURLTransfer, in combination with a non-zero wait time for messages from a designated message port.

    - Joel
  • Thanks for reply joel,

    but i am using AsyncPostFromString() but still same problem can u send me small snippet code for me for support multitasking
  • if your springboard screen is not created in a separate function, and uses the same message port, you might be able to make this work the way you want.



    - Joel