Since the eventtail uses Green Threading and Asynchronous I / O, do I need to set the locks before reaching the object is? I understand that all of the green colors are part of a thread and locking is not necessary. Can anyone confirm or deny this?
Your understanding is correct: "green" threads are not really threads, they are pre-installed on unexpected points, Is not empty (adjective "in the middle" of no operation), so when your execution goes away from one (and thus can be sent to another) there is complete control and can save yourself trouble / lock Overhead of acquisition / release operations.
Comments
Post a Comment