Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__init__ is blocking #2

Open
seocam opened this issue May 31, 2016 · 3 comments
Open

__init__ is blocking #2

seocam opened this issue May 31, 2016 · 3 comments

Comments

@seocam
Copy link

seocam commented May 31, 2016

Calling serial.serial_for_url(port, **kwargs) currently blocks the __init__

@sbourdeauducq
Copy link
Member

What do you mean? And what OS feature would you use to open the port asynchronously?

@seocam
Copy link
Author

seocam commented May 31, 2016

I'm using OS X. I'm calling Serial(port, loop=loop) inside an async def co-routine and that's blocking my loop for about 2 seconds.

@sbourdeauducq
Copy link
Member

I'm not familiar with OS X. What system call is blocking, and what would you use instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants