Thread: Midi <-> OSC
View Single Post
Old 12-22-2017, 11:17 PM   #139
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 6,463
Default

Quote:
Originally Posted by fundorin View Post
Do you mean I should just separate send and receive functions? ... Seems logical.
Yep. In an event driven system this is perfectly necessary.

Other Systems might provide "blocking Read" functions that internally wait (potentially forever) for something to happen (e.g a message comes in from some sender). This is problematic, as while waiting, the system can't react on other stuff happening (e.g. a timer is scheduled, ...). So it is just fine that OSCII-Bot does not feature any blocking functions (but "sleep()", that should be use with great care), and works just "event driven".

-Michael
__________________
www.boa-sorte.de
mschnell is offline   Reply With Quote