Jump to content




How do I make threads that uses events with the coroutine API ?


  • You cannot reply to this topic
2 replies to this topic

#1 Cross_Sans

  • Members
  • 122 posts
  • LocationFrance

Posted 08 May 2017 - 01:00 PM

Hi, my question is "How do I make threads that uses events with the coroutine API ?". I have tried few times, but failed at each one. I was unable to get os.pullEvent() to work on any attempt I have made. Please make an example program.

Thanks for reading, Redall.

#2 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 08 May 2017 - 02:09 PM

two things:
first: BB's guide - http://www.computerc...p?/topic/25670-
second: check how the parallel API does it - https://github.com/d...m/apis/parallel

#3 Cross_Sans

  • Members
  • 122 posts
  • LocationFrance

Posted 08 May 2017 - 06:32 PM

Thanks for the links.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users